RFR: 8350546: Several java/net/InetAddress tests fails UnknownHostException [v9]

SendaoYan syan at openjdk.org
Tue Mar 4 14:34:36 UTC 2025


On Tue, 4 Mar 2025 14:11:17 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   revert change of "255.255.255.0"
>
> test/jdk/java/net/InetAddress/IsReachableViaLoopbackTest.java line 43:
> 
>> 41:         try {
>> 42:             InetAddress addr = InetAddress.getLoopbackAddress();
>> 43:             InetAddress remoteAddr = InetAddress.getByName("23.197.138.208");  //real address of bugs.openjdk.org
> 
> Suggestion:
> 
>             InetAddress remoteAddr = InetAddress.getByName("23.197.138.208");  // use literal address to avoid DNS checks

Thanks. Comment has been updated, and "import jtreg.SkippedException" has been removed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23767#discussion_r1979580050


More information about the net-dev mailing list