The following test failed in the JDK17 CI:
java/net/InetAddress/ptr/Lookup.java
Here's a snippet from the log file:
----------System.err:(15/897)----------
name=192.0.43.7 doesn't match expected=icann.org
Listing all adresses:
[icann.org/2001:500:88:200:0:0:0:7] address=2001:500:88:200:0:0:0:7, host=icann.org
java.lang.RuntimeException: Mismatch between default and java.net.preferIPv4Stack=true results
at Lookup.main(Lookup.java:132)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Mismatch between default and java.net.preferIPv4Stack=true results
java/net/InetAddress/ptr/Lookup.java
Here's a snippet from the log file:
----------System.err:(15/897)----------
name=192.0.43.7 doesn't match expected=icann.org
Listing all adresses:
[icann.org/2001:500:88:200:0:0:0:7] address=2001:500:88:200:0:0:0:7, host=icann.org
java.lang.RuntimeException: Mismatch between default and java.net.preferIPv4Stack=true results
at Lookup.main(Lookup.java:132)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Mismatch between default and java.net.preferIPv4Stack=true results
- relates to
-
JDK-8338759 Add extra diagnostic to java/net/InetAddress/ptr/Lookup.java
-
- Resolved
-