aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153
diff options
context:
space:
mode:
authoraclement <aclement>2006-09-14 10:38:50 +0000
committeraclement <aclement>2006-09-14 10:38:50 +0000
commit70ae0f8df6ec8b77ea2940b222e11d6d411ec5d2 (patch)
tree86db0f6432995d5fc57dd11bbec7f6b920faa442 /tests/bugs153
parent9892449cd6366540f650b45f548f8cc74f6fcae2 (diff)
downloadaspectj-70ae0f8df6ec8b77ea2940b222e11d6d411ec5d2.tar.gz
aspectj-70ae0f8df6ec8b77ea2940b222e11d6d411ec5d2.zip
test and fix for 153845: Rogue signature containing a 'P' getting into the classfile.
Diffstat (limited to 'tests/bugs153')
-rw-r--r--tests/bugs153/pr153845/Aspect.java2
-rw-r--r--tests/bugs153/pr153845/Aspect2.java3
-rw-r--r--tests/bugs153/pr153845/GenericType.java2
-rw-r--r--tests/bugs153/pr153845/Interface.java1
-rw-r--r--tests/bugs153/pr153845/Nothing.java1
5 files changed, 9 insertions, 0 deletions
diff --git a/tests/bugs153/pr153845/Aspect.java b/tests/bugs153/pr153845/Aspect.java
new file mode 100644
index 000000000..267e60253
--- /dev/null
+++ b/tests/bugs153/pr153845/Aspect.java
@@ -0,0 +1,2 @@
+import java.util.*;
+public aspect Aspect extends GenericType<Set<String>> {}
diff --git a/tests/bugs153/pr153845/Aspect2.java b/tests/bugs153/pr153845/Aspect2.java
new file mode 100644
index 000000000..1937453d1
--- /dev/null
+++ b/tests/bugs153/pr153845/Aspect2.java
@@ -0,0 +1,3 @@
+public aspect Aspect2 {
+ declare parents: Aspect implements Interface;
+}
diff --git a/tests/bugs153/pr153845/GenericType.java b/tests/bugs153/pr153845/GenericType.java
new file mode 100644
index 000000000..eea3a2be8
--- /dev/null
+++ b/tests/bugs153/pr153845/GenericType.java
@@ -0,0 +1,2 @@
+public class GenericType<T> {
+}
diff --git a/tests/bugs153/pr153845/Interface.java b/tests/bugs153/pr153845/Interface.java
new file mode 100644
index 000000000..aa0550856
--- /dev/null
+++ b/tests/bugs153/pr153845/Interface.java
@@ -0,0 +1 @@
+interface Interface {}
diff --git a/tests/bugs153/pr153845/Nothing.java b/tests/bugs153/pr153845/Nothing.java
new file mode 100644
index 000000000..e7bdb19f6
--- /dev/null
+++ b/tests/bugs153/pr153845/Nothing.java
@@ -0,0 +1 @@
+public class Nothing {}