forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test-failure on macOS with JDK versions < 20 (netty#12597)
Motivation: Calling DatagramChannel.disconnect() on JDK versions < 20 with mapped ipv6 addresses throw an exception, we should workaround this bug. Modifications: Only try to call disconnect() when the DatagramChannel is not using NIO when using mapped ipv6 addresses Result: No more build failures on macOS
- Loading branch information
1 parent
c05287c
commit 73ef1f8
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters