-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 12
-
b13
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8214115 | 11.0.3-oracle | Xuelei Fan | P3 | Resolved | Fixed | master |
JDK-8217708 | 11.0.3 | Xuelei Fan | P3 | Resolved | Fixed | master |
JDK-8256749 | openjdk8u272 | Martin Balao Alonso | P3 | Closed | Fixed | b06 |
JDK-8243719 | 8u261 | Prasadarao Koppula | P3 | Resolved | Fixed | b05 |
JDK-8247053 | emb-8u261 | Prasadarao Koppula | P3 | Resolved | Fixed | team |
The debug log for ClientHello message does not appear in JDK 12. The problem get exposed with the fix for JDK-8209965. It does not impact JDK 11 for now. But if backport JDK-8209965, please backport this fix as well.
diff -r 2a51125b2794 src/java.base/share/classes/sun/security/ssl/SSLExtensions.java
--- a/src/java.base/share/classes/sun/security/ssl/SSLExtensions.java Tue Sep 18 21:47:14 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/SSLExtensions.java Thu Sep 20 11:01:47 2018 -0700
@@ -333,7 +333,7 @@
return "<no extension>";
} else {
StringBuilder builder = new StringBuilder(512);
- if (logMap != null) {
+ if (logMap != null && !logMap.isEmpty()) {
for (Map.Entry<Integer, byte[]> en : logMap.entrySet()) {
SSLExtension ext = SSLExtension.valueOf(
handshakeMessage.handshakeType(), en.getKey());
diff -r 2a51125b2794 src/java.base/share/classes/sun/security/ssl/SSLExtensions.java
--- a/src/java.base/share/classes/sun/security/ssl/SSLExtensions.java Tue Sep 18 21:47:14 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/SSLExtensions.java Thu Sep 20 11:01:47 2018 -0700
@@ -333,7 +333,7 @@
return "<no extension>";
} else {
StringBuilder builder = new StringBuilder(512);
- if (logMap != null) {
+ if (logMap != null && !logMap.isEmpty()) {
for (Map.Entry<Integer, byte[]> en : logMap.entrySet()) {
SSLExtension ext = SSLExtension.valueOf(
handshakeMessage.handshakeType(), en.getKey());
- backported by
-
JDK-8214115 No extensions debug log for ClientHello
- Resolved
-
JDK-8217708 No extensions debug log for ClientHello
- Resolved
-
JDK-8243719 No extensions debug log for ClientHello
- Resolved
-
JDK-8247053 No extensions debug log for ClientHello
- Resolved
-
JDK-8256749 No extensions debug log for ClientHello
- Closed
- relates to
-
JDK-8209965 The "supported_groups" extension in ServerHellos
- Resolved
(1 relates to)