< prev index next >

src/java.base/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2008, 2019, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 1150,1160 **** private static native void initIDs(); static { // nio.dll has dependency on net.dll ! jdk.internal.loader.BootLoader.loadLibrary("net"); ! jdk.internal.loader.BootLoader.loadLibrary("nio"); initIDs(); } } --- 1150,1160 ---- private static native void initIDs(); static { // nio.dll has dependency on net.dll ! sun.security.action.LoadLibraryAction.privilegedLoadLibrary("net"); ! sun.security.action.LoadLibraryAction.privilegedLoadLibrary("nio"); initIDs(); } }
< prev index next >