changeset 11271:8fe85977d5a6

8131665: Bad exception message in HandshakeHash.getFinishedHash Reviewed-by: xuelei
author coffeys
date Fri, 17 Jul 2015 10:37:25 +0100
parents e963ffbf2500
children 8bef978e2374 2aef22a8baa6
files src/share/classes/sun/security/ssl/HandshakeHash.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/ssl/HandshakeHash.java	Tue Jan 12 18:27:12 2016 +0300
+++ b/src/share/classes/sun/security/ssl/HandshakeHash.java	Fri Jul 17 10:37:25 2015 +0100
@@ -246,7 +246,7 @@
         try {
             return cloneDigest(finMD).digest();
         } catch (Exception e) {
-            throw new Error("BAD");
+            throw new Error("Error during hash calculation", e);
         }
     }
 }