diff src/share/vm/prims/jvm.h @ 878:abe076e3636f

6864003: Modify JVM_FindClassFromBootLoader to return null if class not found Summary: JVM_FindClassFromBootLoader returns null if class not found Reviewed-by: acorn, alanb, dholmes
author mchung
date Mon, 27 Jul 2009 09:06:22 -0700
parents a45484ea312d
children 89e0543e1737 ad6585fd4087
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.h	Thu Jul 16 18:21:40 2009 -0700
+++ b/src/share/vm/prims/jvm.h	Mon Jul 27 09:06:22 2009 -0700
@@ -390,15 +390,10 @@
                              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.
+ * Find a class from a boot class loader. Returns NULL if class not found.
  */
 JNIEXPORT jclass JNICALL
-JVM_FindClassFromBootLoader(JNIEnv *env, const char *name,
-                            jboolean throwError);
+JVM_FindClassFromBootLoader(JNIEnv *env, const char *name);
 
 /*
  * Find a class from a given class.