Hi Arthur,

This looks good to me.

BTW: I sent your patch through our test system and didn't see
any failures.

Reviewed!

best regards,

-- daniel

On 20/05/2019 22:30, Arthur Eubanks wrote:
bug: https://bugs.openjdk.java.net/browse/JDK-8224248
webrev: http://cr.openjdk.java.net/~aeubanks/8224248/webrev.00/

test/jdk/java/net/InetAddress/CheckJNI.java fails in IPv6-only environments because 127.0.0.1 is not available.

Cleaned up the test a bit. 127.0.0.1 is now only tested when IPv4 is available. Added tests for InetAddress.getLoopbackAddress() regardless of IPv4/IPv6 availability for more coverage (since there is a comment saying try to invoke as much native code as possible).
Verified this passes in an IPv6-only environment.

Reply via email to