changeset 31799:4251d80202e0

8131665: Bad exception message in HandshakeHash.getFinishedHash Reviewed-by: xuelei
author coffeys
date Fri, 17 Jul 2015 10:37:25 +0100
parents 7c577fda1855
children 450f972e0488
files jdk/src/java.base/share/classes/sun/security/ssl/HandshakeHash.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
         }
     }
 }