# HG changeset patch # User sspitsyn # Date 1359691874 28800 # Node ID 5ea56212959f1ab1b3c66621ea9855e71c52357c # Parent 3a166138739c8b5e34970a70cbf2b1fac54eb7e8 8006731: JSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic Summary: The invokedynamic bytecode ref to a CP entry needs to be checked and fixed as well. Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn@oracle.com diff -r 3a166138739c -r 5ea56212959f hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp --- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp Thu Jan 31 20:09:16 2013 -0800 +++ b/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp Thu Jan 31 20:11:14 2013 -0800 @@ -1542,6 +1542,7 @@ case Bytecodes::_getfield : // fall through case Bytecodes::_getstatic : // fall through case Bytecodes::_instanceof : // fall through + case Bytecodes::_invokedynamic : // fall through case Bytecodes::_invokeinterface: // fall through case Bytecodes::_invokespecial : // fall through case Bytecodes::_invokestatic : // fall through