From 42b962499e9a151825fdcd94e09d487203132e91 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 Dec 2007 14:52:58 +0000 Subject: [PATCH] 211052 - testcode --- tests/bugs154/pr211052/DistantResource.java | 12 +++++++ tests/bugs154/pr211052/MyPojo.java | 35 +++++++++++++++++++ tests/bugs154/pr211052/SimpleAnnotation.java | 8 +++++ tests/bugs154/pr211052/SimpleAnnotation2.java | 8 +++++ tests/bugs154/pr211052/SimpleAspect1.java | 6 ++++ tests/bugs154/pr211052/SimpleAspect2.java | 8 +++++ tests/bugs154/pr211052/SimpleAspect3.java | 6 ++++ tests/bugs154/pr211052/SimpleAspect4.java | 9 +++++ 8 files changed, 92 insertions(+) create mode 100644 tests/bugs154/pr211052/DistantResource.java create mode 100644 tests/bugs154/pr211052/MyPojo.java create mode 100644 tests/bugs154/pr211052/SimpleAnnotation.java create mode 100644 tests/bugs154/pr211052/SimpleAnnotation2.java create mode 100644 tests/bugs154/pr211052/SimpleAspect1.java create mode 100644 tests/bugs154/pr211052/SimpleAspect2.java create mode 100644 tests/bugs154/pr211052/SimpleAspect3.java create mode 100644 tests/bugs154/pr211052/SimpleAspect4.java 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