summaryrefslogtreecommitdiffstats
path: root/tests/bugs/serialVersionUID/TJP.aj
diff options
context:
space:
mode:
authoraclement <aclement>2004-03-16 09:24:17 +0000
committeraclement <aclement>2004-03-16 09:24:17 +0000
commitcb2aaacf5c3fd4a745fd708c89feaab18435b0e0 (patch)
tree23597914033f16f59a3de81fec41d92f0318cd9d /tests/bugs/serialVersionUID/TJP.aj
parente6894a62dae5857568da40762c4f6daa6111fdb3 (diff)
downloadaspectj-cb2aaacf5c3fd4a745fd708c89feaab18435b0e0.tar.gz
aspectj-cb2aaacf5c3fd4a745fd708c89feaab18435b0e0.zip
Fix for Bugzilla Bug 41181
Support SerialVersionUID field if no new fields declared on class (Regenerated with BcweaverJarMaker)
Diffstat (limited to 'tests/bugs/serialVersionUID/TJP.aj')
-rw-r--r--tests/bugs/serialVersionUID/TJP.aj34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/bugs/serialVersionUID/TJP.aj b/tests/bugs/serialVersionUID/TJP.aj
new file mode 100644
index 000000000..585426042
--- /dev/null
+++ b/tests/bugs/serialVersionUID/TJP.aj
@@ -0,0 +1,34 @@
+public aspect TJP {
+
+ pointcut run () :
+ execution(public void *.run());
+
+ before () : run () {
+ System.out.println("? TJP.execRun() thisJoinPointStaticPart=" + thisJoinPointStaticPart);
+ }
+
+ pointcut write () :
+ call(public void *.run());
+
+ before () : write () {
+ System.out.println("? TJP.callRun() thisJoinPointStaticPart=" + thisJoinPointStaticPart);
+ }
+
+ before () : write () {
+ System.out.println("? TJP.callRun() thisEnclosingJoinPointStaticPart=" + thisEnclosingJoinPointStaticPart);
+ }
+
+ pointcut getI () :
+ get(int i);
+
+ before () : getI () {
+ System.out.println("? TJP.getI() thisJoinPoint=" + thisJoinPoint);
+ }
+
+ pointcut setI () :
+ set(int i);
+
+ before () : setI () {
+ System.out.println("? TJP.setI() thisJoinPoint=" + thisJoinPoint);
+ }
+} \ No newline at end of file