1.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp Mon Aug 26 16:12:20 2013 +0200 1.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Tue Aug 20 09:37:01 2013 +0200 1.3 @@ -1583,7 +1583,7 @@ 1.4 ObjectType* obj_type = obj->type()->as_ObjectType(); 1.5 if (obj_type->is_constant() && !PatchALot) { 1.6 ciObject* const_oop = obj_type->constant_value(); 1.7 - if (!const_oop->is_null_object()) { 1.8 + if (!const_oop->is_null_object() && const_oop->is_loaded()) { 1.9 if (field->is_constant()) { 1.10 ciConstant field_val = field->constant_value_of(const_oop); 1.11 BasicType field_type = field_val.basic_type();