RFR: 8281771: Crash in java_lang_invoke_MethodType::print_signature [v2]
David Holmes
dholmes at openjdk.java.net
Tue Feb 15 07:48:09 UTC 2022
On Tue, 15 Feb 2022 07:24:53 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> The crash happens in java.lang.invoke.MethodType.<init> when VM tries to print this objec while rtype and ptypes are not initialized yet. So the fix is just to check if they are not NULL.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>
> Update src/hotspot/share/classfile/javaClasses.cpp
>
> Co-authored-by: Aleksey Shipilëv <shade at redhat.com>
Good catch @shipilev !
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/7470
More information about the hotspot-runtime-dev
mailing list