summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-15 10:36:22 +0000
committeraclement <aclement>2005-12-15 10:36:22 +0000
commit332eef9ebd79970f5ac2fe671c4e0efdce85974a (patch)
treec731562af46840ff911af84b3d19cfdaf5f18cde /weaver
parent2c59ee16ca8454b20f538e7ea8dde4e7b829fc7c (diff)
downloadaspectj-332eef9ebd79970f5ac2fe671c4e0efdce85974a.tar.gz
aspectj-332eef9ebd79970f5ac2fe671c4e0efdce85974a.zip
test updates and the fix for cases 3&4 in 120916: Jrockit test failures with RC1
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
index 6279ef144..a22920a77 100644
--- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
+++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
@@ -572,11 +572,9 @@ public final class LazyClassGen {
String s = interfaceRTXs[i].getSignatureForAttribute();
signature.append(s);
}
+ if (sigAttr!=null) myGen.removeAttribute(sigAttr);
myGen.addAttribute(createSignatureAttribute(signature.toString()));
}
-
- // TODO asc generics The 'old' signature is left in the constant pool - I wonder how safe it would be to
- // remove it since we don't know what else (if anything) is referring to it
}
/**