Integrated: 8281771: Crash in java_lang_invoke_MethodType::print_signature

Leonid Mesnik lmesnik at openjdk.java.net
Tue Feb 15 18:05:12 UTC 2022


On Tue, 15 Feb 2022 06:43:02 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.

This pull request has now been integrated.

Changeset: a24498b7
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a24498b777b76c04d7e6da0a8b5fb501f2fb4944
Stats:     13 lines in 1 file changed: 9 ins; 0 del; 4 mod

8281771: Crash in java_lang_invoke_MethodType::print_signature

Reviewed-by: dholmes, shade

-------------

PR: https://git.openjdk.java.net/jdk/pull/7470


More information about the hotspot-runtime-dev mailing list