8259403: Zero: crash with NULL MethodHandle receiver

Reviewed-by: coleenp
This commit is contained in:
Aleksey Shipilev 2021-01-18 10:28:14 +00:00
parent e93f08e2ac
commit ff275b3764
4 changed files with 63 additions and 22 deletions

View file

@ -632,6 +632,10 @@ JRT_ENTRY(void, InterpreterRuntime::throw_IncompatibleClassChangeErrorVerbose(Ja
THROW_MSG(vmSymbols::java_lang_IncompatibleClassChangeError(), buf);
JRT_END
JRT_ENTRY(void, InterpreterRuntime::throw_NullPointerException(JavaThread* thread))
THROW(vmSymbols::java_lang_NullPointerException());
JRT_END
//------------------------------------------------------------------------------------------------------------------------
// Fields
//