Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
199:f139919897d2 | 226:d5ba4f8aa38a |
---|---|
386 * argument. | 386 * argument. |
387 */ | 387 */ |
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 | |
392 /* | |
393 * Find a class from a boot class loader. Throw ClassNotFoundException | |
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 */ | |
399 JNIEXPORT jclass JNICALL | |
400 JVM_FindClassFromBootLoader(JNIEnv *env, const char *name, | |
401 jboolean throwError); | |
391 | 402 |
392 /* | 403 /* |
393 * Find a class from a given class. | 404 * Find a class from a given class. |
394 */ | 405 */ |
395 JNIEXPORT jclass JNICALL | 406 JNIEXPORT jclass JNICALL |