src/share/vm/interpreter/rewriter.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8171155 Cdiff src/share/vm/interpreter/rewriter.cpp

src/share/vm/interpreter/rewriter.cpp

Print this page
rev 12406 : 1234567: Invalid bug number
Summary: This is a local commit to reduce jprt submit time.
Reviewed-by: kvn

*** 424,434 **** if (klass->name() == ref_class_name) { Symbol* field_name = cp->name_ref_at(bc_index); Symbol* field_sig = cp->signature_ref_at(bc_index); fieldDescriptor fd; ! klass->find_field(field_name, field_sig, &fd); if (fd.access_flags().is_final()) { if (fd.access_flags().is_static()) { if (!method->is_static_initializer()) { fd.set_has_initialized_final_update(true); } --- 424,434 ---- if (klass->name() == ref_class_name) { Symbol* field_name = cp->name_ref_at(bc_index); Symbol* field_sig = cp->signature_ref_at(bc_index); fieldDescriptor fd; ! if (klass->find_field(field_name, field_sig, &fd) != NULL) { if (fd.access_flags().is_final()) { if (fd.access_flags().is_static()) { if (!method->is_static_initializer()) { fd.set_has_initialized_final_update(true); }
*** 438,447 **** --- 438,448 ---- } } } } } + } } // fall through case Bytecodes::_getstatic : // fall through case Bytecodes::_getfield : // fall through case Bytecodes::_invokevirtual : // fall through
src/share/vm/interpreter/rewriter.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File