]> source.dussan.org Git - javassist.git/commitdiff
fixed JASSIST-160
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 4 Oct 2012 13:35:56 +0000 (13:35 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 4 Oct 2012 13:35:56 +0000 (13:35 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@670 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/bytecode/StackMapTable.java

index 0ea3e089e7efbfcb89ee751292244a7f32951244..4518ef36b231ce92715317e61b40d6cae91af9ea 100644 (file)
@@ -909,8 +909,6 @@ public class StackMapTable extends AttributeInfo {
                 newDelta = offsetDelta - gap;
             else if (where == oldPos)
                 newDelta = offsetDelta + gap;
-            // else if (gap > 0 && oldPos < where && where < position) // chiba
-            //    throw new RuntimeException("old:" + oldPos + " where:" + where + " pos:" + position);
             else
                 return;
 
@@ -951,8 +949,6 @@ public class StackMapTable extends AttributeInfo {
                 newDelta = offsetDelta - gap;
             else if (where == oldPos)
                 newDelta = offsetDelta + gap;
-            // else if (gap > 0 && oldPos < where && where < position)   // chiba
-            //    throw new RuntimeException("old:" + oldPos + " where:" + where + " pos:" + position);
             else
                 return;