mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
Adds JVM_FindClassFromBootLoader entry point, for jdk's use Reviewed-by: dholmes, acorn
This commit is contained in:
parent
cb8502a58c
commit
69eb2b72c6
15 changed files with 61 additions and 7 deletions
|
@ -389,6 +389,17 @@ JNIEXPORT jclass JNICALL
|
|||
JVM_FindClassFromClassLoader(JNIEnv *env, const char *name, jboolean init,
|
||||
jobject loader, jboolean throwError);
|
||||
|
||||
/*
|
||||
* Find a class from a boot class loader. Throw ClassNotFoundException
|
||||
* or NoClassDefFoundError depending on the value of the last
|
||||
* argument. This is the same as FindClassFromClassLoader but provided
|
||||
* as a convenience method exported correctly on all platforms for
|
||||
* JSR 277 launcher class loading.
|
||||
*/
|
||||
JNIEXPORT jclass JNICALL
|
||||
JVM_FindClassFromBootLoader(JNIEnv *env, const char *name,
|
||||
jboolean throwError);
|
||||
|
||||
/*
|
||||
* Find a class from a given class.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue