1.1 --- a/src/share/vm/ci/ciInstance.cpp Mon Sep 09 19:53:28 2013 +0200 1.2 +++ b/src/share/vm/ci/ciInstance.cpp Tue Sep 10 14:51:48 2013 -0700 1.3 @@ -127,6 +127,8 @@ 1.4 ciConstant ciInstance::field_value_by_offset(int field_offset) { 1.5 ciInstanceKlass* ik = klass()->as_instance_klass(); 1.6 ciField* field = ik->get_field_by_offset(field_offset, false); 1.7 + if (field == NULL) 1.8 + return ciConstant(); // T_ILLEGAL 1.9 return field_value(field); 1.10 } 1.11