8131665: Bad exception message in HandshakeHash.getFinishedHash
authorcoffeys
Fri, 17 Jul 2015 10:37:25 +0100
changeset 31799 4251d80202e0
parent 31760 7c577fda1855
child 31800 450f972e0488
8131665: Bad exception message in HandshakeHash.getFinishedHash Reviewed-by: xuelei
jdk/src/java.base/share/classes/sun/security/ssl/HandshakeHash.java
--- a/jdk/src/java.base/share/classes/sun/security/ssl/HandshakeHash.java	Wed Jul 05 20:42:39 2017 +0200
+++ b/jdk/src/java.base/share/classes/sun/security/ssl/HandshakeHash.java	Fri Jul 17 10:37:25 2015 +0100
@@ -355,7 +355,7 @@
         try {
             return cloneDigest(finMD).digest();
         } catch (Exception e) {
-            throw new Error("BAD");
+            throw new Error("Error during hash calculation", e);
         }
     }
 }