test/jdk/java/security/SecureClassLoader/DefineClass.java checks that a security manager works with "http://127.0.0.1". This fails on IPv6-only systems.
This was "fixed" in https://bugs.openjdk.java.net/browse/JDK-8224256, then reverted in https://bugs.openjdk.java.net/browse/JDK-8224635.
With theJDK-8224256 change, the test consistently fails on Linux and Windows and intermittently on Solaris in the test farm. It passes locally on my Linux machine.
There may be multiple causes to the different failures, e.g. the Linux machines in the test farm don't have localhost mapped to [::1].
This was "fixed" in https://bugs.openjdk.java.net/browse/JDK-8224256, then reverted in https://bugs.openjdk.java.net/browse/JDK-8224635.
With the
There may be multiple causes to the different failures, e.g. the Linux machines in the test farm don't have localhost mapped to [::1].
- relates to
-
JDK-8224256 test/jdk/java/security/SecureClassLoader/DefineClass.java hardcodes 127.0.0.1
- Resolved
-
JDK-8224635 Revert 8224256 and add back java/security/SecureClassLoader/DefineClass.java test
- Closed