bugs.java.com
JDK-8369950 - Java Issue Tracker
JDK-8369950: TLS connection to IPv6 address fails with BCJSSE due to IllegalArgumentException. Info. P4BugPending Release.
JDK-8369950: TLS connection to IPv6 address fails with BCJSSE due to IllegalArgumentException. Info. P4BugPending Release.
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.