src/share/vm/oops/constantPoolKlass.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7105305 Cdiff src/share/vm/oops/constantPoolKlass.cpp

src/share/vm/oops/constantPoolKlass.cpp

Print this page

        

*** 530,540 **** for (int i = 0; i< cp->length(); i++) { if (cp->tag_at(i).is_unresolved_klass()) { // This will force loading of the class klassOop klass = cp->klass_at(i, CHECK); ! if (klass->is_instance()) { // Force initialization of class instanceKlass::cast(klass)->initialize(CHECK); } } } --- 530,540 ---- for (int i = 0; i< cp->length(); i++) { if (cp->tag_at(i).is_unresolved_klass()) { // This will force loading of the class klassOop klass = cp->klass_at(i, CHECK); ! if (klass->klass_part()->oop_is_instance()) { // Force initialization of class instanceKlass::cast(klass)->initialize(CHECK); } } }
src/share/vm/oops/constantPoolKlass.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File