aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/CodeIterator.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-07-19 12:02:27 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-07-19 12:02:27 +0000
commitaa92b8250ecf9bb0698a0844123b67a5f2ac5279 (patch)
tree787192862dd2a8b3214a45e8ea0e6f52573b9a5d /src/main/javassist/bytecode/CodeIterator.java
parent785aa0c403ccfe2367417b1431f430961a2af067 (diff)
downloadjavassist-aa92b8250ecf9bb0698a0844123b67a5f2ac5279.tar.gz
javassist-aa92b8250ecf9bb0698a0844123b67a5f2ac5279.zip
Bugs item #988787 has been fixed.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@114 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/bytecode/CodeIterator.java')
-rw-r--r--src/main/javassist/bytecode/CodeIterator.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/CodeIterator.java b/src/main/javassist/bytecode/CodeIterator.java
index 90c2308b..03da568e 100644
--- a/src/main/javassist/bytecode/CodeIterator.java
+++ b/src/main/javassist/bytecode/CodeIterator.java
@@ -638,6 +638,12 @@ public class CodeIterator implements Opcode {
if (va != null)
va.shiftPc(where, gapLength, exclusive);
+ LocalVariableAttribute vta
+ = (LocalVariableAttribute)ca.getAttribute(
+ LocalVariableAttribute.typeTag);
+ if (vta != null)
+ vta.shiftPc(where, gapLength, exclusive);
+
return newcode;
}