aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorAndy Clement <aclement@vmware.com>2012-03-02 14:31:45 -0800
committerAndy Clement <aclement@vmware.com>2012-03-02 14:31:45 -0800
commiteec87199cd0fbba7a16a63b7db61d3a0a0fd58c6 (patch)
tree50e06ee16ac626abab66eea22f6507fb9207ba4d /weaver
parentd4a8cc90482cb538a88f74a9aae99a323e547c84 (diff)
parent0cf0cb2dfb690891fe5eb7f4219e383ed666a0fc (diff)
downloadaspectj-eec87199cd0fbba7a16a63b7db61d3a0a0fd58c6.tar.gz
aspectj-eec87199cd0fbba7a16a63b7db61d3a0a0fd58c6.zip
373130: transient tjps
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
index 6a41e410d..606bd2a96 100644
--- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
+++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
@@ -981,7 +981,7 @@ public final class LazyClassGen {
return tjpField;
}
- int modifiers = Modifier.STATIC | Modifier.FINAL;
+ int modifiers = Modifier.STATIC | Modifier.FINAL ;
// XXX - Do we ever inline before or after advice? If we do, then we
// better include them in the check below. (or just change it to
@@ -1034,6 +1034,9 @@ public final class LazyClassGen {
}
}
}
+ if (!isInterface() && world.isTransientTjpFields()) {
+ modifiers|=Modifier.TRANSIENT;
+ }
FieldGen fGen = new FieldGen(modifiers, jpType, "ajc$tjp_" + tjpFieldsCounter++, getConstantPool());
addField(fGen);
tjpField = fGen.getField();