Skip to content

Commit

Permalink
Rerun DefaultOptionsHolder class initializers.
Browse files Browse the repository at this point in the history
Fixes #6457.
  • Loading branch information
fniephaus committed Sep 24, 2023
1 parent 408a427 commit 7e28718
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public void duringSetup(DuringSetupAccess a) {
rerunClassInit(a, "sun.nio.ch.IOUtil", "sun.nio.ch.ServerSocketChannelImpl", "sun.nio.ch.DatagramChannelImpl", "sun.nio.ch.FileChannelImpl", "sun.nio.ch.FileKey");
rerunClassInit(a, "java.nio.file.Files$FileTypeDetectors");
rerunClassInit(a, "sun.nio.ch.Net", "sun.nio.ch.SocketOptionRegistry$LazyInitialization");
rerunClassInit(a, "sun.nio.ch.AsynchronousSocketChannelImpl$DefaultOptionsHolder", "sun.nio.ch.AsynchronousServerSocketChannelImpl$DefaultOptionsHolder",
"sun.nio.ch.DatagramChannelImpl$DefaultOptionsHolder", "sun.nio.ch.ServerSocketChannelImpl$DefaultOptionsHolder", "sun.nio.ch.SocketChannelImpl$DefaultOptionsHolder");
/* Ensure that the interrupt signal handler is initialized at runtime. */
rerunClassInit(a, "sun.nio.ch.NativeThread");
rerunClassInit(a, "sun.nio.ch.FileDispatcherImpl", "sun.nio.ch.FileChannelImpl$Unmapper");
Expand Down

0 comments on commit 7e28718

Please sign in to comment.