From: chiba Date: Sun, 8 Nov 2009 14:39:10 +0000 (+0000) Subject: for JIRA JASSIST-95 X-Git-Tag: rel_3_17_1_ga~148 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ceca8f6f36a9e0b7f40bd73730000f377ec925d1;p=javassist.git for JIRA JASSIST-95 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@501 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/convert/TransformNew.java b/src/main/javassist/convert/TransformNew.java index 3d744de2..f796489a 100644 --- a/src/main/javassist/convert/TransformNew.java +++ b/src/main/javassist/convert/TransformNew.java @@ -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) {