aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2007-01-10 16:10:52 +0000
committeraclement <aclement>2007-01-10 16:10:52 +0000
commit18535100f9d21aea94134defd298fc277b06ee57 (patch)
tree68d636ec0b573a8dc0c5aae2733729039a1194fc /weaver
parentbcdcb8a0d0bf2ce1b9f20f5950ab507ab786c19e (diff)
downloadaspectj-18535100f9d21aea94134defd298fc277b06ee57.tar.gz
aspectj-18535100f9d21aea94134defd298fc277b06ee57.zip
test and fix for 168063 - incorrectly tagging a field as transient
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
index af7a4afee..6f6743f47 100644
--- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
+++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
@@ -1237,7 +1237,8 @@ public final class LazyClassGen {
}
private void makeSyntheticAndTransientIfNeeded(Field field) {
- if (field.getName().startsWith(NameMangler.PREFIX)) {
+ if (field.getName().startsWith(NameMangler.PREFIX) &&
+ !field.getName().startsWith("ajc$interField$")) {
// it's an aj added field
// first do transient
if (!field.isStatic()) {