src/share/vm/prims/jvmtiTrace.cpp

changeset 4037
da91efe96a93
parent 2314
f95d63e2154a
child 4278
070d523b96a7
     1.1 --- a/src/share/vm/prims/jvmtiTrace.cpp	Fri Aug 31 16:39:35 2012 -0700
     1.2 +++ b/src/share/vm/prims/jvmtiTrace.cpp	Sat Sep 01 13:25:18 2012 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2012, 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 @@ -288,7 +288,7 @@
    1.11    if (java_lang_Class::is_primitive(k_mirror)) {
    1.12      return "primitive";
    1.13    }
    1.14 -  klassOop k_oop = java_lang_Class::as_klassOop(k_mirror);
    1.15 +  Klass* k_oop = java_lang_Class::as_Klass(k_mirror);
    1.16    if (k_oop == NULL) {
    1.17      return "INVALID";
    1.18    }

mercurial