Skip to content

Commit

Permalink
Ensure runtime init of java.nio.file.FileSystems#builtinFileSystemPro…
Browse files Browse the repository at this point in the history
…vider
  • Loading branch information
olpaw committed Oct 14, 2019
1 parent 2018aa4 commit e55e597
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class JNIRegistrationJavaNio extends JNIRegistrationUtil implements Feature {
@Override
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.FileSystems");
rerunClassInit(a, "java.nio.file.FileSystems$DefaultFileSystemHolder");
rerunClassInit(a, "java.nio.file.Files$FileTypeDetectors");
rerunClassInit(a, "sun.nio.ch.Net", "sun.nio.ch.SocketOptionRegistry$LazyInitialization");
Expand Down

0 comments on commit e55e597

Please sign in to comment.