diff options
author | Andy Clement <aclement@pivotal.io> | 2018-10-01 16:10:02 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2018-10-01 16:10:02 -0700 |
commit | 749b9cb3ca8e4680fca4252b0d782b7154eccb75 (patch) | |
tree | c2abf1231aac79a08469c92b319b4882991bf3b7 /tests/bugs180 | |
parent | f6d9aaaf05eca3aaf06d3a769a83f302b0501dca (diff) | |
download | aspectj-749b9cb3ca8e4680fca4252b0d782b7154eccb75.tar.gz aspectj-749b9cb3ca8e4680fca4252b0d782b7154eccb75.zip |
More fixes for 1.9.2V1_9_2_RC2
- update to more recent JDT to pickup Nestmates fix
- bcel updated for NestMembers/NestHost attributes
- testcases for nestmates
Diffstat (limited to 'tests/bugs180')
-rw-r--r-- | tests/bugs180/415957/MyAspect.aj | 2 | ||||
-rw-r--r-- | tests/bugs180/415957/MyClass.java | 2 | ||||
-rw-r--r-- | tests/bugs180/415957/Resource.java | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/bugs180/415957/MyAspect.aj b/tests/bugs180/415957/MyAspect.aj index 673463a55..9d900ff2c 100644 --- a/tests/bugs180/415957/MyAspect.aj +++ b/tests/bugs180/415957/MyAspect.aj @@ -1,5 +1,5 @@ public aspect MyAspect { - pointcut all(): execution(@javax.annotation.Resource * *(..)); + pointcut all(): execution(@Resource * *(..)); before(): all() { diff --git a/tests/bugs180/415957/MyClass.java b/tests/bugs180/415957/MyClass.java index 7b596ffd0..b6ea71267 100644 --- a/tests/bugs180/415957/MyClass.java +++ b/tests/bugs180/415957/MyClass.java @@ -1,5 +1,5 @@ public class MyClass { - @javax.annotation.Resource + @Resource public void method() { } } diff --git a/tests/bugs180/415957/Resource.java b/tests/bugs180/415957/Resource.java new file mode 100644 index 000000000..e9ae957ac --- /dev/null +++ b/tests/bugs180/415957/Resource.java @@ -0,0 +1,4 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Resource {} |