diff src/share/vm/prims/jvm.h @ 226:d5ba4f8aa38a

6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn] Summary: adds JVM_FindClassFromBootLoader entry point, for jdk's use Reviewed-by: dholmes, acorn
author ksrini
date Tue, 17 Jun 2008 13:08:15 -0700
parents 018d5b58dd4f
children 9c2ecc2ffb12
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.h	Tue Jun 17 09:59:59 2008 -0700
+++ b/src/share/vm/prims/jvm.h	Tue Jun 17 13:08:15 2008 -0700
@@ -390,6 +390,17 @@
                              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