hotspot/src/share/vm/ci/ciEnv.cpp
changeset 14490 5bb45ed999ee
parent 14477 95e66ea71f71
parent 14488 ab48109f7d1b
child 15482 470d0b0c09f1
child 15471 41f75023e6a6
--- a/hotspot/src/share/vm/ci/ciEnv.cpp	Fri Nov 16 09:59:08 2012 +0100
+++ b/hotspot/src/share/vm/ci/ciEnv.cpp	Fri Nov 16 09:19:12 2012 -0500
@@ -427,7 +427,7 @@
     for (int i = cpool->length() - 1; i >= 1; i--) {
       if (cpool->tag_at(i).is_klass()) {
         Klass* kls = cpool->resolved_klass_at(i);
-        if (Klass::cast(kls)->name() == sym) {
+        if (kls->name() == sym) {
           found_klass = KlassHandle(THREAD, kls);
           break;
         }