diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2009-11-12 15:43:30 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2009-11-12 15:43:30 +0000 |
commit | 893f78ee2d35b20649c098bfba81f93c2c93c5ca (patch) | |
tree | 3973b3727a11765cd423b9eadddc17e081333d95 /src/main/javassist/bytecode | |
parent | eada5573e0209cf24e0dfab30423de71f94e1943 (diff) | |
download | javassist-893f78ee2d35b20649c098bfba81f93c2c93c5ca.tar.gz javassist-893f78ee2d35b20649c098bfba81f93c2c93c5ca.zip |
for JIRA JASSIST-98
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@504 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/bytecode')
-rw-r--r-- | src/main/javassist/bytecode/LocalVariableAttribute.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/bytecode/LocalVariableAttribute.java b/src/main/javassist/bytecode/LocalVariableAttribute.java index d01aa408..3d44a295 100644 --- a/src/main/javassist/bytecode/LocalVariableAttribute.java +++ b/src/main/javassist/bytecode/LocalVariableAttribute.java @@ -188,7 +188,7 @@ public class LocalVariableAttribute extends AttributeInfo { */ if (pc > where || (exclusive && pc == where && pc != 0)) ByteArray.write16bit(pc + gapLength, info, pos); - else if (pc + len > where) + else if (pc + len > where || (exclusive && pc + len == where)) ByteArray.write16bit(len + gapLength, info, pos + 2); } } |