aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs180
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2013-08-27 13:25:30 -0700
committerAndy Clement <aclement@gopivotal.com>2013-08-27 13:25:30 -0700
commitd82db7bf44e2e0d5f68798c22cd7eb373452bc54 (patch)
tree3fbb4d37b44a8506791f2e68a4ee9fde624b8b17 /tests/bugs180
parent7716a15cbe03d6bd518ac013c4d9ffd7b9f05a3f (diff)
downloadaspectj-d82db7bf44e2e0d5f68798c22cd7eb373452bc54.tar.gz
aspectj-d82db7bf44e2e0d5f68798c22cd7eb373452bc54.zip
Fix 415957: annotations with 1.8 flags
Diffstat (limited to 'tests/bugs180')
-rw-r--r--tests/bugs180/415957/MyAspect.aj8
-rw-r--r--tests/bugs180/415957/MyClass.java5
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs180/415957/MyAspect.aj b/tests/bugs180/415957/MyAspect.aj
new file mode 100644
index 000000000..673463a55
--- /dev/null
+++ b/tests/bugs180/415957/MyAspect.aj
@@ -0,0 +1,8 @@
+public aspect MyAspect {
+ pointcut all(): execution(@javax.annotation.Resource * *(..));
+
+
+ before(): all() {
+ System.out.println("Hi");
+ }
+}
diff --git a/tests/bugs180/415957/MyClass.java b/tests/bugs180/415957/MyClass.java
new file mode 100644
index 000000000..7b596ffd0
--- /dev/null
+++ b/tests/bugs180/415957/MyClass.java
@@ -0,0 +1,5 @@
+public class MyClass {
+ @javax.annotation.Resource
+ public void method() {
+ }
+}