RFR: JDK-8058932 - java/net/InetAddress/IPv4Formats.java failed because hello.foo.bar does exist
dalibor.topic at oracle.com
dalibor.topic at oracle.com
Tue Sep 30 23:19:16 UTC 2014
There is also .test per http://tools.ietf.org/html/rfc2606
--
Oracle <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214<tel:+494089091214> | Mobile:+491737185961<tel:+491737185961>
Oracle Java Platform Group
ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
> On 30.09.2014, at 10:53, Dmitry Samersoff <dmitry.samersoff at oracle.com> wrote:
>
> Mark,
>
> It probably should be some-name.invalid
>
> IANA reserve .invalid TLD for tests like this one
>
> see:
>
> http://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
>
> -Dmitry
>
>> On 2014-09-30 19:21, Mark Sheppard wrote:
>> 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
>
>
> --
> Dmitry Samersoff
> Oracle Java development team, Saint Petersburg, Russia
> * I would love to change the world, but they won't give me the sources.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20140930/67e6b6b0/attachment.html>
More information about the net-dev
mailing list