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

david.holmes at oracle.com david.holmes at oracle.com
Fri Feb 7 02:06:24 UTC 2020


Changeset: 5e402c63694f
Author:    dholmes
Date:      2020-02-06 21:03 -0500
URL:       https://hg.openjdk.java.net/jdk/jdk/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-all-changes mailing list