< prev index next >

src/hotspot/share/interpreter/rewriter.cpp

Print this page
rev 55090 : secret-sfac

*** 447,461 **** 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); } } else { ! if (!method->is_object_initializer()) { fd.set_has_initialized_final_update(true); } } } } --- 447,461 ---- 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_class_initializer()) { fd.set_has_initialized_final_update(true); } } else { ! if (!method->is_object_constructor()) { fd.set_has_initialized_final_update(true); } } } }
< prev index next >