[jdk8u-dev] RFR: 8285515: (dc) DatagramChannel.disconnect fails with "Invalid argument" on macOS 12.4
Ben Taylor
btaylor at openjdk.org
Thu Apr 13 20:14:41 UTC 2023
On Thu, 13 Apr 2023 18:57:45 GMT, Ben Taylor <btaylor at openjdk.org> wrote:
> Backport-of: 269eae61894b6bd0a7512045a369b53df747f6e5
>
> This fixes a bug in common network code with MacOS, and it is already fixed in all other JDK releases. See the [JBS issue](https://bugs.openjdk.org/browse/JDK-8285515) for more info
All tests in `jdk/test/java/nio/channels/DatagramChannel` were run.
I have 3 failures:
runner finished test: java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java
Failed. Execution failed: `main’ threw exception: java.lang.RuntimeException: Expected message not recieved
runner finished test: java/nio/channels/DatagramChannel/ReceiveISA.java
Failed. Execution failed: `main’ threw exception: java.lang.Exception: Source address for packets 1 & 2 should be equal
runner finished test: java/nio/channels/DatagramChannel/ChangingAddress.java
Failed. Execution failed: `main’ threw exception: java.lang.RuntimeException: Expected: 0.0.0.0/0.0.0.0, actual: /192.168.1.240
however these tests also fail without the backport present, and I believe they are an issue with my local network or configuration unrelated to the patch.
-------------
PR Comment: https://git.openjdk.org/jdk8u-dev/pull/303#issuecomment-1507553579
More information about the jdk8u-dev
mailing list