/* * Class: java_io_ObjectInputStream * Method: latestUserDefinedLoader * Signature: ()Ljava/lang/ClassLoader; * * Returns the first non-null class loader up the execution stack, or null * if only code from the null class loader is on the stack. */ JNIEXPORT jobject JNICALL Java_java_io_ObjectInputStream_latestUserDefinedLoader(JNIEnv *env, jclass cls) { return JVM_LatestUserDefinedLoader(env); }
/* * Class: sun_rmi_server_MarshalInputStream * Method: latestUserDefinedLoader * Signature: ()Ljava/lang/ClassLoader; * * Returns the first non-null class loader up the execution stack, or null * if only code from the null class loader is on the stack. */ JNIEXPORT jobject JNICALL Java_sun_rmi_server_MarshalInputStream_latestUserDefinedLoader(JNIEnv *env, jclass cls) { return JVM_LatestUserDefinedLoader(env); }
JNIEXPORT jobject JNICALL Java_sun_misc_VM_latestUserDefinedLoader(JNIEnv *env, jclass cls) { return JVM_LatestUserDefinedLoader(env); }