summaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
authoraclement <aclement>2008-01-22 23:48:51 +0000
committeraclement <aclement>2008-01-22 23:48:51 +0000
commitca7f9f4bf393a4a1193773501b7d55ecd17ede1f (patch)
tree338a8d5072e2e2372221912dbfdeef7a8569205d /tests/bugs160
parent114db350a407be5b0aa00d1b8b3baa60aa6911e2 (diff)
downloadaspectj-ca7f9f4bf393a4a1193773501b7d55ecd17ede1f.tar.gz
aspectj-ca7f9f4bf393a4a1193773501b7d55ecd17ede1f.zip
pr206911: tests and fix: generic super itd
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/pr206911/VerifyError.java15
-rw-r--r--tests/bugs160/pr206911/VerifyError2.java15
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs160/pr206911/VerifyError.java b/tests/bugs160/pr206911/VerifyError.java
new file mode 100644
index 000000000..3db8dddf7
--- /dev/null
+++ b/tests/bugs160/pr206911/VerifyError.java
@@ -0,0 +1,15 @@
+package bugs;
+
+class GenericClass< K > {
+ public void f() {}
+}
+class ExtendsGenericHasITD extends GenericClass< Object > {}
+
+public aspect VerifyError {
+ public void ExtendsGenericHasITD.f() {
+ super.f();
+ }
+ public static void main( String[] args ) {
+ new ExtendsGenericHasITD();
+ }
+}
diff --git a/tests/bugs160/pr206911/VerifyError2.java b/tests/bugs160/pr206911/VerifyError2.java
new file mode 100644
index 000000000..bb08b7eb0
--- /dev/null
+++ b/tests/bugs160/pr206911/VerifyError2.java
@@ -0,0 +1,15 @@
+package bugs;
+
+class GenericClass<K> {
+ public void f(K t) {}
+}
+class ExtendsGenericHasITD extends GenericClass<String> {}
+
+public aspect VerifyError2 {
+ public void ExtendsGenericHasITD.f(String s) {
+ super.f(s);
+ }
+ public static void main( String[] args ) {
+ new ExtendsGenericHasITD();
+ }
+}