jdk/src/share/native/java/io/ObjectInputStream.c
changeset 10797 f51518b30c84
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
10796:a78533d1bbc6 10797:f51518b30c84
   171 
   171 
   172     (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT);
   172     (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT);
   173     (*env)->ReleasePrimitiveArrayCritical(env, dst, doubles, 0);
   173     (*env)->ReleasePrimitiveArrayCritical(env, dst, doubles, 0);
   174 }
   174 }
   175 
   175 
   176 /*
       
   177  * Class:     java_io_ObjectInputStream
       
   178  * Method:    latestUserDefinedLoader
       
   179  * Signature: ()Ljava/lang/ClassLoader;
       
   180  *
       
   181  * Returns the first non-null class loader up the execution stack, or null
       
   182  * if only code from the null class loader is on the stack.
       
   183  */
       
   184 JNIEXPORT jobject JNICALL
       
   185 Java_java_io_ObjectInputStream_latestUserDefinedLoader(JNIEnv *env, jclass cls)
       
   186 {
       
   187     return JVM_LatestUserDefinedLoader(env);
       
   188 }