diff options
author | trims <none@none> | 2008-07-11 01:14:44 -0700 |
---|---|---|
committer | trims <none@none> | 2008-07-11 01:14:44 -0700 |
commit | 079d86f70e4d98a39d38de729f9cf61b4d6e419e (patch) | |
tree | 1e3f582457ed46f2269973a6276c083a4350da32 /src/share/vm/prims/jvm.h | |
parent | 3dafc83456480144e4b1863ef6e823c6ccba26af (diff) | |
parent | 85585a95573bac6624140c931e0d90dbae72b4ea (diff) | |
download | jdk8u_hotspot-079d86f70e4d98a39d38de729f9cf61b4d6e419e.tar.gz |
Merge
Diffstat (limited to 'src/share/vm/prims/jvm.h')
-rw-r--r-- | src/share/vm/prims/jvm.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/share/vm/prims/jvm.h b/src/share/vm/prims/jvm.h index b48ff19a3..131e0ddc9 100644 --- a/src/share/vm/prims/jvm.h +++ b/src/share/vm/prims/jvm.h @@ -390,6 +390,17 @@ 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. */ JNIEXPORT jclass JNICALL |