Skip to content

Commit

Permalink
DualStackPlainDatagramSocketImpl removed in JDK 19 for Windows [JDK-8…
Browse files Browse the repository at this point in the history
…253119].
  • Loading branch information
ansalond authored and zapster committed Sep 4, 2022
1 parent 12d08fd commit 1709fc6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ public void duringSetup(DuringSetupAccess a) {
"java.net.DefaultDatagramSocketImplFactory");
}
if (isWindows()) {
rerunClassInit(a, "java.net.DualStackPlainDatagramSocketImpl", "java.net.TwoStacksPlainDatagramSocketImpl");
if (JavaVersionUtil.JAVA_SPEC <= 17) {
/* Removed by https://bugs.openjdk.java.net/browse/JDK-8253119 */
/* Caches networking properties. */
rerunClassInit(a, "java.net.PlainSocketImpl");
rerunClassInit(a, "java.net.PlainSocketImpl", "java.net.DualStackPlainDatagramSocketImpl", "java.net.TwoStacksPlainDatagramSocketImpl");
}
} else {
assert isPosix();
Expand Down

0 comments on commit 1709fc6

Please sign in to comment.