--- a/jdk/src/share/classes/sun/net/www/protocol/https/HttpsClient.java Tue Aug 30 14:41:12 2011 +0100
+++ b/jdk/src/share/classes/sun/net/www/protocol/https/HttpsClient.java Tue Aug 30 11:53:11 2011 -0700
@@ -529,7 +529,7 @@
new BufferedOutputStream(serverSocket.getOutputStream()),
false, encoding);
} catch (UnsupportedEncodingException e) {
- throw new InternalError(encoding+" encoding not found");
+ throw new InternalError(encoding+" encoding not found", e);
}
// check URL spoofing if it has not been checked under handshaking