aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs186
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2015-04-23 12:21:57 -0700
committerAndy Clement <aclement@gopivotal.com>2015-04-23 12:21:57 -0700
commit3ad0706d16c0068aca1fb5ef2d8ef1c78bd9e975 (patch)
tree823115f3d37ebd111dcc1462028ca73409351617 /tests/bugs186
parentad445b570dcd02f6f84013a0759619eca671a67e (diff)
downloadaspectj-3ad0706d16c0068aca1fb5ef2d8ef1c78bd9e975.tar.gz
aspectj-3ad0706d16c0068aca1fb5ef2d8ef1c78bd9e975.zip
APT and missing declaring type in BTB hierarchy
Diffstat (limited to 'tests/bugs186')
-rw-r--r--tests/bugs186/romain/Code.java3
-rw-r--r--tests/bugs186/romain/Runner1.java5
-rw-r--r--tests/bugs186/romain/Runner2.java5
-rw-r--r--tests/bugs186/romain/SubCode.java2
-rw-r--r--tests/bugs186/romain/X.java3
-rw-r--r--tests/bugs186/romain/code1.jarbin0 -> 964 bytes
-rw-r--r--tests/bugs186/romain/code2.jarbin0 -> 2556 bytes
7 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs186/romain/Code.java b/tests/bugs186/romain/Code.java
new file mode 100644
index 000000000..9ae8ed102
--- /dev/null
+++ b/tests/bugs186/romain/Code.java
@@ -0,0 +1,3 @@
+public class Code {
+ public void foo() { System.out.println("foo");}
+}
diff --git a/tests/bugs186/romain/Runner1.java b/tests/bugs186/romain/Runner1.java
new file mode 100644
index 000000000..aa3b23d19
--- /dev/null
+++ b/tests/bugs186/romain/Runner1.java
@@ -0,0 +1,5 @@
+public class Runner1 {
+ public static void main(String[]argv) {
+ new SubCode().foo();
+ }
+}
diff --git a/tests/bugs186/romain/Runner2.java b/tests/bugs186/romain/Runner2.java
new file mode 100644
index 000000000..aa3b23d19
--- /dev/null
+++ b/tests/bugs186/romain/Runner2.java
@@ -0,0 +1,5 @@
+public class Runner1 {
+ public static void main(String[]argv) {
+ new SubCode().foo();
+ }
+}
diff --git a/tests/bugs186/romain/SubCode.java b/tests/bugs186/romain/SubCode.java
new file mode 100644
index 000000000..7136b3fe7
--- /dev/null
+++ b/tests/bugs186/romain/SubCode.java
@@ -0,0 +1,2 @@
+public class SubCode<T> {
+}
diff --git a/tests/bugs186/romain/X.java b/tests/bugs186/romain/X.java
new file mode 100644
index 000000000..d28c3e679
--- /dev/null
+++ b/tests/bugs186/romain/X.java
@@ -0,0 +1,3 @@
+public aspect X {
+ declare parents: SubCode extends Code;
+}
diff --git a/tests/bugs186/romain/code1.jar b/tests/bugs186/romain/code1.jar
new file mode 100644
index 000000000..a35660a3d
--- /dev/null
+++ b/tests/bugs186/romain/code1.jar
Binary files differ
diff --git a/tests/bugs186/romain/code2.jar b/tests/bugs186/romain/code2.jar
new file mode 100644
index 000000000..c4b5ce74e
--- /dev/null
+++ b/tests/bugs186/romain/code2.jar
Binary files differ