On Thu, 15 Jan 2026 14:40:22 GMT, Alan Bateman <[email protected]> wrote:

>> To avoid the test is hanging due to the too small receive buffer, check the 
>> receive buffer can hold the capacity. If not, assert. Like we do already in 
>> java/nio/channels/DatagramChannel/SendReceiveMaxSize.java 
>> (https://bugs.openjdk.org/browse/JDK-8313873)
>
> This test (and the equivalent for DatagramChannel) was initially created to 
> work on macOS. We should check into the history to see how/when it was 
> extended to work on all platforms.
> 
> BTW: No objection to changing the test, it's just the test `@summary` is 
> outdated.

> @AlanBateman: with this commit it was extended to run on all platforms: 
> [a096c0a](https://github.com/openjdk/jdk/commit/a096c0a83f900c05702f94c35adb51746c0683cd)

Thanks for checking, the summary should have been updated when the test was 
changed and extended to run on all platforms. We can create a follow-up to fix 
that.

Can you update the copyright header? As you note, this just puts in the same 
check that is already in the DC test.

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

PR Comment: https://git.openjdk.org/jdk/pull/29251#issuecomment-3759664296

Reply via email to