aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1612
diff options
context:
space:
mode:
authoraclement <aclement>2011-03-30 19:08:32 +0000
committeraclement <aclement>2011-03-30 19:08:32 +0000
commit8b322ba8aece6db9ddab83fdaa87baa29f7c8527 (patch)
tree79442645eab0efaadd1b681a9d247f39f33c0a53 /tests/bugs1612
parenta8e6797a9268d9fb041c075ee7701831f7e848b4 (diff)
downloadaspectj-8b322ba8aece6db9ddab83fdaa87baa29f7c8527.tar.gz
aspectj-8b322ba8aece6db9ddab83fdaa87baa29f7c8527.zip
338175: coping better with bad code
Diffstat (limited to 'tests/bugs1612')
-rw-r--r--tests/bugs1612/pr338175/pack1/Aspect.java10
-rw-r--r--tests/bugs1612/pr338175/pack2/Java.java2
-rw-r--r--tests/bugs1612/pr338175/pack2/Java2.java2
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs1612/pr338175/pack1/Aspect.java b/tests/bugs1612/pr338175/pack1/Aspect.java
new file mode 100644
index 000000000..6e042ee2d
--- /dev/null
+++ b/tests/bugs1612/pr338175/pack1/Aspect.java
@@ -0,0 +1,10 @@
+package pack1;
+import pack2.Java;
+import pack2.Java2;
+public aspect Aspect {
+ public static final class Java.ITIT {
+ public static final java.util.List<String> X = null;
+ public static final int X() { return 9; } }
+ public static final class Java2.ITIT {
+ public static final java.util.List<String> X2 = null;
+ public static final int X2() { return 9; } }}
diff --git a/tests/bugs1612/pr338175/pack2/Java.java b/tests/bugs1612/pr338175/pack2/Java.java
new file mode 100644
index 000000000..c32e970e7
--- /dev/null
+++ b/tests/bugs1612/pr338175/pack2/Java.java
@@ -0,0 +1,2 @@
+package pack2;
+public class Java {}
diff --git a/tests/bugs1612/pr338175/pack2/Java2.java b/tests/bugs1612/pr338175/pack2/Java2.java
new file mode 100644
index 000000000..41ef75c8e
--- /dev/null
+++ b/tests/bugs1612/pr338175/pack2/Java2.java
@@ -0,0 +1,2 @@
+package pack2;
+public class Java2 {}