1.1 --- a/src/share/vm/ci/ciMethod.cpp Thu Oct 04 14:55:57 2012 +0200 1.2 +++ b/src/share/vm/ci/ciMethod.cpp Tue Nov 06 15:09:37 2012 -0500 1.3 @@ -105,7 +105,7 @@ 1.4 CHECK_UNHANDLED_OOPS_ONLY(Thread::current()->clear_unhandled_oops()); 1.5 } 1.6 1.7 - if (InstanceKlass::cast(h_m()->method_holder())->is_linked()) { 1.8 + if (h_m()->method_holder()->is_linked()) { 1.9 _can_be_statically_bound = h_m()->can_be_statically_bound(); 1.10 } else { 1.11 // Have to use a conservative value in this case. 1.12 @@ -188,7 +188,7 @@ 1.13 1.14 // Revert any breakpoint bytecodes in ci's copy 1.15 if (me->number_of_breakpoints() > 0) { 1.16 - BreakpointInfo* bp = InstanceKlass::cast(me->method_holder())->breakpoints(); 1.17 + BreakpointInfo* bp = me->method_holder()->breakpoints(); 1.18 for (; bp != NULL; bp = bp->next()) { 1.19 if (bp->match(me)) { 1.20 code_at_put(bp->bci(), bp->orig_bytecode());