equal
deleted
inserted
replaced
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); |