< prev index next >

src/hotspot/share/classfile/classFileParser.cpp

Print this page
*** 5208,10 ***
--- 5208,11 ---
    // Not yet: supers are done below to support the new subtype-checking fields
    ik->set_nonstatic_field_size(_field_info->_nonstatic_field_size);
    ik->set_has_nonstatic_fields(_field_info->_has_nonstatic_fields);
    assert(_fac != nullptr, "invariant");
    ik->set_static_oop_field_count(_fac->count[STATIC_OOP]);
+   ik->set_nonstatic_oop_field_count(_fac->count[NONSTATIC_OOP]);
  
    // this transfers ownership of a lot of arrays from
    // the parser onto the InstanceKlass*
    apply_parsed_class_metadata(ik, _java_fields_count);
  
< prev index next >