File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -892,14 +892,11 @@ class CompileReplay : public StackObj {
892892 }
893893
894894 ObjArrayKlass* create_concrete_object_array_klass (ObjArrayKlass* obj_array_klass, TRAPS) {
895- const ArrayProperties array_properties (checked_cast<ArrayProperties::Type>(parse_int (" array_properties" )));
895+ ArrayProperties array_properties (checked_cast<ArrayProperties::Type>(parse_int (" array_properties" )));
896896 if (!Arguments::is_valhalla_enabled ()) {
897- // Ignore array properties.
898- return obj_array_klass ;
897+ // Ignore Valhalla-specific properties
898+ array_properties = ArrayProperties::Default () ;
899899 }
900-
901- guarantee (array_properties.is_valid (), " invalid array_properties: %d" , array_properties.value ());
902-
903900 return obj_array_klass->klass_with_properties (array_properties, THREAD);
904901 }
905902
You can’t perform that action at this time.
0 commit comments