From ceca8f6f36a9e0b7f40bd73730000f377ec925d1 Mon Sep 17 00:00:00 2001 From: chiba Date: Sun, 8 Nov 2009 14:39:10 +0000 Subject: [PATCH] for JIRA JASSIST-95 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@501 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/convert/TransformNew.java | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.39.5