< prev index next >

src/hotspot/share/ci/ciReplay.cpp

Print this page

        

@@ -908,11 +908,14 @@
           value = oopFactory::new_intArray(length, CHECK_(true));
         } else if (strcmp(field_signature, "[J") == 0) {
           value = oopFactory::new_longArray(length, CHECK_(true));
         } else if (field_signature[0] == '[' && field_signature[1] == 'L') {
           Klass* kelem = resolve_klass(field_signature + 1, CHECK_(true));
-          value = oopFactory::new_array(kelem, length, CHECK_(true));
+          value = oopFactory::new_objArray(kelem, length, CHECK_(true));
+        } else if (field_signature[0] == '[' && field_signature[1] == 'Q') {
+          Klass* kelem = resolve_klass(field_signature + 1, CHECK_(true));
+          value = oopFactory::new_valueArray(kelem, length, CHECK_(true));
         } else {
           report_error("unhandled array staticfield");
         }
       }
       java_mirror->obj_field_put(fd->offset(), value);
< prev index next >