src/share/vm/ci/ciField.cpp

changeset 2568
1957c1478794
parent 2497
3582bf76420e
child 2639
8033953d67ff
     1.1 --- a/src/share/vm/ci/ciField.cpp	Mon Feb 14 14:36:29 2011 -0800
     1.2 +++ b/src/share/vm/ci/ciField.cpp	Tue Feb 15 22:18:33 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -212,9 +212,9 @@
    1.11      //    may change.  The three examples are java.lang.System.in,
    1.12      //    java.lang.System.out, and java.lang.System.err.
    1.13  
    1.14 -    klassOop k = _holder->get_klassOop();
    1.15 +    Handle k = _holder->get_klassOop();
    1.16      assert( SystemDictionary::System_klass() != NULL, "Check once per vm");
    1.17 -    if( k == SystemDictionary::System_klass() ) {
    1.18 +    if( k() == SystemDictionary::System_klass() ) {
    1.19        // Check offsets for case 2: System.in, System.out, or System.err
    1.20        if( _offset == java_lang_System::in_offset_in_bytes()  ||
    1.21            _offset == java_lang_System::out_offset_in_bytes() ||

mercurial