# HG changeset patch # User never # Date 1297837113 28800 # Node ID 1957c1478794ebb6687e442ba0d2b03423cbf53b # Parent 850b2295a4944423b164bf6a2c61413835f71ca6 7019819: bare oop in ciField Reviewed-by: kvn, iveresov diff -r 850b2295a494 -r 1957c1478794 src/share/vm/ci/ciField.cpp --- a/src/share/vm/ci/ciField.cpp Mon Feb 14 14:36:29 2011 -0800 +++ b/src/share/vm/ci/ciField.cpp Tue Feb 15 22:18:33 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -212,9 +212,9 @@ // may change. The three examples are java.lang.System.in, // java.lang.System.out, and java.lang.System.err. - klassOop k = _holder->get_klassOop(); + Handle k = _holder->get_klassOop(); assert( SystemDictionary::System_klass() != NULL, "Check once per vm"); - if( k == SystemDictionary::System_klass() ) { + if( k() == SystemDictionary::System_klass() ) { // Check offsets for case 2: System.in, System.out, or System.err if( _offset == java_lang_System::in_offset_in_bytes() || _offset == java_lang_System::out_offset_in_bytes() ||