[ipv6] RFR: 8224256: test/jdk/java/security/SecureClassLoader/DefineClass.java hardcodes 127.0.0.1
Chris Hegarty
chris.hegarty at oracle.com
Wed May 22 13:32:07 UTC 2019
Arthur,
> On 21 May 2019, at 00:50, Arthur Eubanks <aeubanks at google.com <mailto:aeubanks at google.com>> wrote:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8224256 <https://bugs.openjdk.java.net/browse/JDK-8224256>webrev: http://cr.openjdk.java.net/~aeubanks/8224256/webrev.00/index.html <http://cr.openjdk.java.net/~aeubanks/8224256/webrev.00/index.html>
>
> test/jdk/java/security/SecureClassLoader/DefineClass.java checks that a security manager works with "http://127.0.0.1 <http://127.0.0.1/>". This fails on IPv6-only systems.
>
> This change tests 127.0.0.1 if IPv4 is available, then tests ::1 if IPv6 is available. Created a new class for testing ::1 since we can't have duplicate classes.
I think this is ok.
I’ve included security-dev, as the test in question is in their area.
-Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20190522/9159bb6f/attachment.htm>
More information about the security-dev
mailing list