diff -r caf5eb7dd4a7 -r 882756847a04 hotspot/src/share/vm/ci/ciField.cpp --- a/hotspot/src/share/vm/ci/ciField.cpp Fri Aug 31 16:39:35 2012 -0700 +++ b/hotspot/src/share/vm/ci/ciField.cpp Sat Sep 01 13:25:18 2012 -0400 @@ -125,11 +125,11 @@ return; } - instanceKlass* loaded_decl_holder = declared_holder->get_instanceKlass(); + InstanceKlass* loaded_decl_holder = declared_holder->get_instanceKlass(); // Perform the field lookup. fieldDescriptor field_desc; - klassOop canonical_holder = + Klass* canonical_holder = loaded_decl_holder->find_field(name, signature, &field_desc); if (canonical_holder == NULL) { // Field lookup failed. Will be detected by will_link. @@ -186,7 +186,7 @@ // Get the flags, offset, and canonical holder of the field. _flags = ciFlags(fd->access_flags()); _offset = fd->offset(); - _holder = CURRENT_ENV->get_object(fd->field_holder())->as_instance_klass(); + _holder = CURRENT_ENV->get_instance_klass(fd->field_holder()); // Check to see if the field is constant. if (_holder->is_initialized() && this->is_final()) { @@ -213,7 +213,7 @@ // may change. The three examples are java.lang.System.in, // java.lang.System.out, and java.lang.System.err. - KlassHandle k = _holder->get_klassOop(); + KlassHandle k = _holder->get_Klass(); assert( SystemDictionary::System_klass() != NULL, "Check once per vm"); if( k() == SystemDictionary::System_klass() ) { // Check offsets for case 2: System.in, System.out, or System.err