1.1 --- a/src/share/vm/code/dependencies.cpp Thu Oct 04 14:55:57 2012 +0200 1.2 +++ b/src/share/vm/code/dependencies.cpp Tue Nov 06 15:09:37 2012 -0500 1.3 @@ -829,7 +829,7 @@ 1.4 } 1.5 if ( !Dependencies::is_concrete_method(lm) 1.6 && !Dependencies::is_concrete_method(m) 1.7 - && Klass::cast(lm->method_holder())->is_subtype_of(m->method_holder())) 1.8 + && lm->method_holder()->is_subtype_of(m->method_holder())) 1.9 // Method m is overridden by lm, but both are non-concrete. 1.10 return true; 1.11 }