--- old/src/java.base/windows/classes/sun/nio/fs/RegistryFileTypeDetector.java 2020-03-09 21:45:37.000000000 -0700 +++ new/src/java.base/windows/classes/sun/nio/fs/RegistryFileTypeDetector.java 2020-03-09 21:45:37.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -69,7 +69,7 @@ static { // nio.dll has dependency on net.dll - jdk.internal.loader.BootLoader.loadLibrary("net"); - jdk.internal.loader.BootLoader.loadLibrary("nio"); + sun.security.action.LoadLibraryAction.privilegedLoadLibrary("net"); + sun.security.action.LoadLibraryAction.privilegedLoadLibrary("nio"); } }