-
Bug
-
Resolution: Fixed
-
P4
-
8u212
-
b01
-
aix
The test fails with this if the native library has already been loaded on AIX.
Standard Error
java.lang.RuntimeException: NetworkInterfaceV6List failed - found v6 address 0:0:0:0:0:0:0:1%lo0
at IPv4Only.main(IPv4Only.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:819)
JavaTest Message: Test threw exception: java.lang.RuntimeException: NetworkInterfaceV6List failed - found v6 address 0:0:0:0:0:0:0:1%lo0
The tests in JDK 11+ works more reliably as it sets the system property on the command line. The JDK 11 change to the test was introduced withJDK-8049367. A selective backport seems in order.
Standard Error
java.lang.RuntimeException: NetworkInterfaceV6List failed - found v6 address 0:0:0:0:0:0:0:1%lo0
at IPv4Only.main(IPv4Only.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.lang.Thread.run(Thread.java:819)
JavaTest Message: Test threw exception: java.lang.RuntimeException: NetworkInterfaceV6List failed - found v6 address 0:0:0:0:0:0:0:1%lo0
The tests in JDK 11+ works more reliably as it sets the system property on the command line. The JDK 11 change to the test was introduced with
- relates to
-
JDK-8049367 Modular Run-Time Images
- Resolved