This only happens on Pure Ipv6 environment. Reproduce with 8, 8u20 and 9. Tested on a Windows 7 SP1 32 bit VM, which has uninstalled IPv4 by "netsh interface ipv4 uninstall".
It immediately failed when invoking:
NetworkInterface.getNetworkInterfaces();
This is the error message:
Exception in thread "main" java.lang.Error: IP Helper Library GetIpAddrTable function failed
at java.net.NetworkInterface.getAll(Native Method)
at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:343)
at PureIpv6.main(PureIpv6.java:9)
We haven't started to cover this configuration, so set it to low priority as suggested. Actually, all SQE tests failed and regressions test can't be executed, because of it.
It immediately failed when invoking:
NetworkInterface.getNetworkInterfaces();
This is the error message:
Exception in thread "main" java.lang.Error: IP Helper Library GetIpAddrTable function failed
at java.net.NetworkInterface.getAll(Native Method)
at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:343)
at PureIpv6.main(PureIpv6.java:9)
We haven't started to cover this configuration, so set it to low priority as suggested. Actually, all SQE tests failed and regressions test can't be executed, because of it.
- duplicates
-
JDK-8065559 In pure IPV6 windows machine, java.util.UUID.randomUUID fails
-
- Closed
-
- relates to
-
JDK-8040229 GetIpAddrTable() in IPv6 only environment causes JCK7 failure
-
- Closed
-
-
JDK-8275319 java.net.NetworkInterface throws java.lang.Error instead of SocketException
-
- Resolved
-
-
JDK-8275640 (win) java.net.NetworkInterface issues with IPv6-only environments
-
- Resolved
-
-
JDK-8179037 Improve IPv6 support
-
- Draft
-