Skip to content

Commit 887e431

Browse files
committed
Rerun sun.nio.ch.NioSocketImpl class initializer
Follow up to oracle#7440 (cherry picked from commit 56d9d05) Adapted to pre oracle@e163fd3 API
1 parent 4faed26 commit 887e431

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/jdk/JNIRegistrationJavaNio.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public void duringSetup(DuringSetupAccess a) {
7373
rerunClassInit(a, "sun.nio.ch.Net", "sun.nio.ch.SocketOptionRegistry$LazyInitialization");
7474
rerunClassInit(a, "sun.nio.ch.AsynchronousSocketChannelImpl$DefaultOptionsHolder", "sun.nio.ch.AsynchronousServerSocketChannelImpl$DefaultOptionsHolder",
7575
"sun.nio.ch.DatagramChannelImpl$DefaultOptionsHolder", "sun.nio.ch.ServerSocketChannelImpl$DefaultOptionsHolder", "sun.nio.ch.SocketChannelImpl$DefaultOptionsHolder");
76+
rerunClassInit(a, "sun.nio.ch.NioSocketImpl");
7677
/* Ensure that the interrupt signal handler is initialized at runtime. */
7778
rerunClassInit(a, "sun.nio.ch.NativeThread");
7879
rerunClassInit(a, "sun.nio.ch.FileDispatcherImpl", "sun.nio.ch.FileChannelImpl$Unmapper");

0 commit comments

Comments
 (0)