hotspot/src/share/vm/code/dependencies.cpp
changeset 14391 df0a1573d5bd
parent 14385 959bbcc16725
child 14488 ab48109f7d1b
child 14477 95e66ea71f71
--- a/hotspot/src/share/vm/code/dependencies.cpp	Thu Oct 04 14:55:57 2012 +0200
+++ b/hotspot/src/share/vm/code/dependencies.cpp	Tue Nov 06 15:09:37 2012 -0500
@@ -829,7 +829,7 @@
       }
       if (   !Dependencies::is_concrete_method(lm)
           && !Dependencies::is_concrete_method(m)
-          && Klass::cast(lm->method_holder())->is_subtype_of(m->method_holder()))
+          && lm->method_holder()->is_subtype_of(m->method_holder()))
         // Method m is overridden by lm, but both are non-concrete.
         return true;
     }