src/share/vm/interpreter/rewriter.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/interpreter/rewriter.cpp	Tue Dec 13 10:45:01 2016
--- new/src/share/vm/interpreter/rewriter.cpp	Tue Dec 13 10:45:01 2016

*** 424,434 **** --- 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 (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