]> source.dussan.org Git - javassist.git/commitdiff
for JIRA JASSIST-95
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Sun, 8 Nov 2009 14:39:10 +0000 (14:39 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Sun, 8 Nov 2009 14:39:10 +0000 (14:39 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@501 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/convert/TransformNew.java

index 3d744de23086d13de287761df8ce6cbfbdafc276..f796489a24536b66d8e20faf348d770cea05bd45 100644 (file)
@@ -69,6 +69,11 @@ final public class TransformNew extends Transformer {
                     = (StackMapTable)iterator.get().getAttribute(StackMapTable.tag);
                 if (smt != null)
                     smt.removeNew(pos);
+
+                StackMap sm
+                    = (StackMap)iterator.get().getAttribute(StackMap.tag);
+                if (sm != null)
+                    sm.removeNew(pos);
             }
         }
         else if (c == INVOKESPECIAL) {