< prev index next >
src/java.base/windows/classes/sun/nio/fs/RegistryFileTypeDetector.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
*** 67,75 ****
private static native String queryStringValue(long subKey, long name);
static {
// nio.dll has dependency on net.dll
! jdk.internal.loader.BootLoader.loadLibrary("net");
! jdk.internal.loader.BootLoader.loadLibrary("nio");
}
}
--- 67,75 ----
private static native String queryStringValue(long subKey, long name);
static {
// nio.dll has dependency on net.dll
! sun.security.action.LoadLibraryAction.privilegedLoadLibrary("net");
! sun.security.action.LoadLibraryAction.privilegedLoadLibrary("nio");
}
}
< prev index next >