--- old/hotspot/src/share/vm/ci/ciInstance.cpp 2013-07-27 01:53:41.000000000 +0400 +++ new/hotspot/src/share/vm/ci/ciInstance.cpp 2013-07-27 01:53:40.000000000 +0400 @@ -127,6 +127,8 @@ ciConstant ciInstance::field_value_by_offset(int field_offset) { ciInstanceKlass* ik = klass()->as_instance_klass(); ciField* field = ik->get_field_by_offset(field_offset, false); + if (field == NULL) + return ciConstant(); // T_ILLEGAL return field_value(field); }