Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
877:8c79517a9300 | 878:abe076e3636f |
---|---|
388 JNIEXPORT jclass JNICALL | 388 JNIEXPORT jclass JNICALL |
389 JVM_FindClassFromClassLoader(JNIEnv *env, const char *name, jboolean init, | 389 JVM_FindClassFromClassLoader(JNIEnv *env, const char *name, jboolean init, |
390 jobject loader, jboolean throwError); | 390 jobject loader, jboolean throwError); |
391 | 391 |
392 /* | 392 /* |
393 * Find a class from a boot class loader. Throw ClassNotFoundException | 393 * Find a class from a boot class loader. Returns NULL if class not found. |
394 * or NoClassDefFoundError depending on the value of the last | |
395 * argument. This is the same as FindClassFromClassLoader but provided | |
396 * as a convenience method exported correctly on all platforms for | |
397 * JSR 277 launcher class loading. | |
398 */ | 394 */ |
399 JNIEXPORT jclass JNICALL | 395 JNIEXPORT jclass JNICALL |
400 JVM_FindClassFromBootLoader(JNIEnv *env, const char *name, | 396 JVM_FindClassFromBootLoader(JNIEnv *env, const char *name); |
401 jboolean throwError); | |
402 | 397 |
403 /* | 398 /* |
404 * Find a class from a given class. | 399 * Find a class from a given class. |
405 */ | 400 */ |
406 JNIEXPORT jclass JNICALL | 401 JNIEXPORT jclass JNICALL |