--- a/hotspot/src/share/vm/ci/ciMethod.cpp Fri Oct 23 14:33:19 2015 +0300
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp Mon Oct 26 13:11:36 2015 -0400
@@ -745,7 +745,7 @@
#ifndef PRODUCT
if (TraceDependencies && target() != NULL && target() != root_m->get_Method()) {
tty->print("found a non-root unique target method");
- tty->print_cr(" context = %s", InstanceKlass::cast(actual_recv->get_Klass())->external_name());
+ tty->print_cr(" context = %s", actual_recv->get_Klass()->external_name());
tty->print(" method = ");
target->print_short_name(tty);
tty->cr();