Mercurial > hg > truffle
changeset 7965:79c1bb8fce5d
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
author | sspitsyn |
---|---|
date | Thu, 31 Jan 2013 20:11:14 -0800 |
parents | dc31f560d6e7 |
children | 9a9f870325cf |
files | src/share/vm/prims/jvmtiRedefineClasses.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiRedefineClasses.cpp Thu Jan 31 20:09:16 2013 -0800 +++ b/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