RFR: 8333526: Restructure java/nio/channels/DatagramChannel/StressNativeSignal.java to a fail fast exception handling policy [v2]

serhiysachkov duke at openjdk.org
Mon Sep 15 14:35:11 UTC 2025


On Mon, 15 Sep 2025 13:24:24 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> serhiysachkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review comments: changing ports to 0 as requested
>
> test/jdk/java/nio/channels/DatagramChannel/StressNativeSignal.java line 142:
> 
>> 140:             channel = DatagramChannel.open();
>> 141:             channel.setOption(StandardSocketOptions.SO_RCVBUF, 6553600);
>> 142:             channel.bind(new InetSocketAddress(19870));
> 
> Unless using a specific port number is required to trigger the condition being tested, we should bind to port 0 here  (and possibly use the loopback too)

done

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27294#discussion_r2349209485


More information about the nio-dev mailing list