RFR: JDK-8058932 - java/net/InetAddress/IPv4Formats.java failed because hello.foo.bar does exist
Mark Sheppard
mark.sheppard at oracle.com
Tue Sep 30 15:21:06 UTC 2014
Hi
Please oblige and review the following small change to test
test/java/net/InetAddress/IPv4Formats.java
--- a/test/java/net/InetAddress/IPv4Formats.java Tue Sep 30
13:25:04 2014 +0100
+++ b/test/java/net/InetAddress/IPv4Formats.java Tue Sep 30
15:11:05 2014 +0100
@@ -36,7 +36,7 @@
{"126.1", "126.0.0.1"},
{"128.50.65534", "128.50.255.254"},
{"192.168.1.2", "192.168.1.2"},
- {"hello.foo.bar", null},
+ {"somehost.some-domain", null},
{"1024.1.2.3", null},
{"128.14.66000", null }
which addresses the issue
https://bugs.openjdk.java.net/browse/JDK-8058932
ping hello.foo.bar
Pinging hello.foo.bar [127.0.53.53] with 32 bytes of data:
Reply from 127.0.53.53: bytes=32 time<1ms TTL=128
Reply from 127.0.53.53: bytes=32 time<1ms TTL=128
Reply from 127.0.53.53: bytes=32 time<1ms TTL=128
Reply from 127.0.53.53: bytes=32 time<1ms TTL=128
this highlights a DNS configuration issue as indicated in
https://www.icann.org/resources/pages/name-collision-2013-12-06-en
so we remove foo.bar from the test and replace with somehost.some-domain
regards
Mark
More information about the net-dev
mailing list