RFR: 8281771: Crash in java_lang_invoke_MethodType::print_signature [v2]

Leonid Mesnik lmesnik at openjdk.java.net
Tue Feb 15 07:24:53 UTC 2022


> 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>

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7470/files
  - new: https://git.openjdk.java.net/jdk/pull/7470/files/c96f9a40..d4b812f8

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7470&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7470&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7470.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7470/head:pull/7470

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


More information about the hotspot-runtime-dev mailing list