hg: jdk/sandbox: 8238460: Provide warnings about the use of JNI RegisterNatives to rebind native methods for boot/platform classes in other classloaders

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Feb 7 02:15:20 UTC 2020


Changeset: 5e402c63694f
Author:    dholmes
Date:      2020-02-06 21:03 -0500
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/5e402c63694f

8238460: Provide warnings about the use of JNI RegisterNatives to rebind native methods for boot/platform classes in other classloaders
Reviewed-by: jwilhelm, lfoltan

! src/hotspot/share/prims/jni.cpp
+ test/hotspot/jtreg/runtime/jni/registerNativesWarning/TestRegisterNativesWarning.java
+ test/hotspot/jtreg/runtime/jni/registerNativesWarning/libregisterNativesWarning.c



More information about the jdk-sandbox-changes mailing list