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

SendaoYan syan at openjdk.org
Mon Mar 3 11:18:11 UTC 2025


On Mon, 3 Mar 2025 10:21:08 GMT, Mikhail Yankelevich <duke at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove "@build jtreg.SkippedException"
>
> test/jdk/java/net/InetAddress/IsReachableViaLoopbackTest.java line 35:
> 
>> 33:  * @key intermittent
>> 34:  * @library /test/lib
>> 35:  * @build jtreg.SkippedException
> 
> AFAIK,`@build jtreg.SkippedException` is not needed. Tried to remove and it worked fine locally, does it work for you?
> 
> Also this is the same for the line 30 in the `getOriginalHostName.java`

Yes, jtreg will compile "jtreg.SkippedException" implicitly. PR has been updated.

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

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


More information about the net-dev mailing list