src/hotspot/share/runtime/sharedRuntime.cpp
changeset 48147 1b57d99567ed
parent 47799 1772ebf07d1f
child 48961 120b61d50f85
equal deleted inserted replaced
48146:646ed97b7e0d 48147:1b57d99567ed
   968  */
   968  */
   969 JNI_ENTRY(void*, throw_unsatisfied_link_error(JNIEnv* env, ...))
   969 JNI_ENTRY(void*, throw_unsatisfied_link_error(JNIEnv* env, ...))
   970 {
   970 {
   971   // We return a bad value here to make sure that the exception is
   971   // We return a bad value here to make sure that the exception is
   972   // forwarded before we look at the return value.
   972   // forwarded before we look at the return value.
   973   THROW_(vmSymbols::java_lang_UnsatisfiedLinkError(), (void*)badJNIHandle);
   973   THROW_(vmSymbols::java_lang_UnsatisfiedLinkError(), (void*)badAddress);
   974 }
   974 }
   975 JNI_END
   975 JNI_END
   976 
   976 
   977 address SharedRuntime::native_method_throw_unsatisfied_link_error_entry() {
   977 address SharedRuntime::native_method_throw_unsatisfied_link_error_entry() {
   978   return CAST_FROM_FN_PTR(address, &throw_unsatisfied_link_error);
   978   return CAST_FROM_FN_PTR(address, &throw_unsatisfied_link_error);