aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs154/pr211052/DistantResource.java
diff options
context:
space:
mode:
authoraclement <aclement>2007-12-03 14:52:58 +0000
committeraclement <aclement>2007-12-03 14:52:58 +0000
commit42b962499e9a151825fdcd94e09d487203132e91 (patch)
tree67bdfaedb7d7328864a5791fa145b3ef9f78c83a /tests/bugs154/pr211052/DistantResource.java
parent13bf61e0f480da3b0effdbaa84768d353611c147 (diff)
downloadaspectj-42b962499e9a151825fdcd94e09d487203132e91.tar.gz
aspectj-42b962499e9a151825fdcd94e09d487203132e91.zip
211052 - testcode
Diffstat (limited to 'tests/bugs154/pr211052/DistantResource.java')
-rw-r--r--tests/bugs154/pr211052/DistantResource.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs154/pr211052/DistantResource.java b/tests/bugs154/pr211052/DistantResource.java
new file mode 100644
index 000000000..09b39a3a7
--- /dev/null
+++ b/tests/bugs154/pr211052/DistantResource.java
@@ -0,0 +1,12 @@
+package c.d;
+
+import java.lang.annotation.*;
+
+public class DistantResource {
+ public static void main(String []argv) {
+ Annotation [] annos = DistantResource.class.getAnnotations();
+ for (int i=0;annos!=null && i<annos.length;i++) {
+ System.out.println("Annotation is "+annos[i]);
+ }
+ }
+}