8191870: Remove badJNIHandle

Reviewed-by: coleenp, eosterlund, dcubed
This commit is contained in:
Kim Barrett 2017-11-28 15:52:32 -05:00
parent 6f31e2eada
commit 678aafa42c
5 changed files with 11 additions and 15 deletions

View file

@ -970,7 +970,7 @@ JNI_ENTRY(void*, throw_unsatisfied_link_error(JNIEnv* env, ...))
{
// We return a bad value here to make sure that the exception is
// forwarded before we look at the return value.
THROW_(vmSymbols::java_lang_UnsatisfiedLinkError(), (void*)badJNIHandle);
THROW_(vmSymbols::java_lang_UnsatisfiedLinkError(), (void*)badAddress);
}
JNI_END