hotspot/src/share/vm/prims/jvm.h
changeset 27021 7a628ca8ac97
parent 27004 816e24da988b
child 27171 5ee40c966315
equal deleted inserted replaced
27020:a7c8010446c2 27021:7a628ca8ac97
   416 /*
   416 /*
   417  * Find a class from a boot class loader. Returns NULL if class not found.
   417  * Find a class from a boot class loader. Returns NULL if class not found.
   418  */
   418  */
   419 JNIEXPORT jclass JNICALL
   419 JNIEXPORT jclass JNICALL
   420 JVM_FindClassFromBootLoader(JNIEnv *env, const char *name);
   420 JVM_FindClassFromBootLoader(JNIEnv *env, const char *name);
       
   421 
       
   422 /*
       
   423  * Find a class from a given class loader.  Throws ClassNotFoundException.
       
   424  *  name:   name of class
       
   425  *  init:   whether initialization is done
       
   426  *  loader: class loader to look up the class. This may not be the same as the caller's
       
   427  *          class loader.
       
   428  *  caller: initiating class. The initiating class may be null when a security
       
   429  *          manager is not installed.
       
   430  */
       
   431 JNIEXPORT jclass JNICALL
       
   432 JVM_FindClassFromCaller(JNIEnv *env, const char *name, jboolean init,
       
   433                         jobject loader, jclass caller);
   421 
   434 
   422 /*
   435 /*
   423  * Find a class from a given class.
   436  * Find a class from a given class.
   424  */
   437  */
   425 JNIEXPORT jclass JNICALL
   438 JNIEXPORT jclass JNICALL