From d3feedf5114542078c10abec0612038c88e005d6 Mon Sep 17 00:00:00 2001 From: Ashutosh Mehra Date: Thu, 18 May 2023 19:50:05 +0000 Subject: [PATCH] 8308192: Error in parsing replay file when staticfield is an array of single dimension Reviewed-by: thartmann, kvn --- src/hotspot/share/ci/ciReplay.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hotspot/share/ci/ciReplay.cpp b/src/hotspot/share/ci/ciReplay.cpp index 771adc602a2..050aed67691 100644 --- a/src/hotspot/share/ci/ciReplay.cpp +++ b/src/hotspot/share/ci/ciReplay.cpp @@ -1101,6 +1101,7 @@ class CompileReplay : public StackObj { value = oopFactory::new_longArray(length, CHECK); } else if (field_signature[0] == JVM_SIGNATURE_ARRAY && field_signature[1] == JVM_SIGNATURE_CLASS) { + parse_klass(CHECK); // eat up the array class name Klass* kelem = resolve_klass(field_signature + 1, CHECK); value = oopFactory::new_objArray(kelem, length, CHECK); } else {