mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
Merge
This commit is contained in:
commit
947fc09db0
344 changed files with 10893 additions and 3764 deletions
|
@ -2381,7 +2381,7 @@ public abstract class ClassLoader {
|
|||
private int jniVersion;
|
||||
// the class from which the library is loaded, also indicates
|
||||
// the loader this native library belongs.
|
||||
private final Class<?> fromClass;
|
||||
private Class<?> fromClass;
|
||||
// the canonicalized name of the native library.
|
||||
// or static library name
|
||||
String name;
|
||||
|
@ -2404,6 +2404,8 @@ public abstract class ClassLoader {
|
|||
protected void finalize() {
|
||||
synchronized (loadedLibraryNames) {
|
||||
if (fromClass.getClassLoader() != null && loaded) {
|
||||
this.fromClass = null; // no context when unloaded
|
||||
|
||||
/* remove the native library name */
|
||||
int size = loadedLibraryNames.size();
|
||||
for (int i = 0; i < size; i++) {
|
||||
|
|
|
@ -1094,6 +1094,7 @@ public final class Math {
|
|||
* @return the result
|
||||
* @since 9
|
||||
*/
|
||||
@HotSpotIntrinsicCandidate
|
||||
public static long multiplyHigh(long x, long y) {
|
||||
if (x < 0 || y < 0) {
|
||||
// Use technique from section 8-2 of Henry S. Warren, Jr.,
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
BOOT
|
||||
@@BOOT_MODULE_NAMES@@
|
||||
PLATFORM
|
||||
@@PLATFORM_MODULE_NAMES@@
|
|
@ -154,6 +154,10 @@ grant codeBase "jrt:/jdk.internal.vm.compiler" {
|
|||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "jrt:/jdk.internal.vm.compiler.management" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
||||
grant codeBase "jrt:/jdk.jsobject" {
|
||||
permission java.security.AllPermission;
|
||||
};
|
||||
|
|
|
@ -1964,6 +1964,7 @@ JNI_OnUnload(JavaVM *vm, void *reserved);
|
|||
#define JNI_VERSION_1_6 0x00010006
|
||||
#define JNI_VERSION_1_8 0x00010008
|
||||
#define JNI_VERSION_9 0x00090000
|
||||
#define JNI_VERSION_10 0x000a0000
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue