jdk17+: tests failed with error ` java.net.SocketException: Message too long` on aix
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
java/nio/channels/DatagramChannel/SendReceiveMaxSize.java
java/net/DatagramSocket/SendReceiveMaxSize.java
failed with error ` java.net.SocketException: Message too long` on aix
https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_ppc64_aix_testList_2/36/consoleFull
```
09:55:45 receiveBuf: java.nio.HeapByteBuffer[pos=0 lim=65506 cap=65506]
09:55:45 test SendReceiveMaxSize.testSendReceiveMaxSize(SendReceiveMaxSize$$Lambda$103/0x000000040011bc38@470d947c, 65507, /140.211.9.28): success
09:55:45 test SendReceiveMaxSize.testSendReceiveMaxSize(SendReceiveMaxSize$$Lambda$106/0x000000040011e478@7cfb47dd, 65527, java.net.Inet6Address@47111e2d): failure
09:55:45 java.net.SocketException: Message too long
09:55:45 at java.base/sun.nio.ch.DatagramChannelImpl.send0(Native Method)
```
https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_ppc64_aix_testList_1/35/consoleFull
```
11:20:27 test SendReceiveMaxSize.testSendReceiveMaxSize("DatagramSocketAdaptor", 65507, SendReceiveMaxSize$$Lambda$99/0x000000008011a780@28593886, null): success
11:20:27 DatagramSocketAdaptor got expected exception: java.net.SocketException: Message too long
11:20:27 test SendReceiveMaxSize.testSendReceiveMaxSize("DatagramSocketAdaptor", 65508, SendReceiveMaxSize$$Lambda$99/0x000000008011a780@28593886, class java.io.IOException): success
11:20:27
```
Contributor guide
Research direction
Start with java/nio/channels/DatagramChannel/SendReceiveMaxSize.java and java/net/DatagramSocket/SendReceiveMaxSize.java, then compare the linked AIX CI logs with the expected test behavior around the reported datagram sizes. Determine the intended AIX outcome and make the tests pass consistently there; completion should be verified by rerunning the affected tests on AIX.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- operating-systems, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100