summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-08 15:57:29 +0000
committeracolyer <acolyer>2005-08-08 15:57:29 +0000
commit3159ae48b7782b2395e2b98aca2e4f437606f178 (patch)
treecbbf700130cb8288f39c70b6b143766357389946 /tests
parent6fe49e131d6699d52d94a34dac5a02d9971fe2aa (diff)
downloadaspectj-3159ae48b7782b2395e2b98aca2e4f437606f178.tar.gz
aspectj-3159ae48b7782b2395e2b98aca2e4f437606f178.zip
some updates to make this sort-of-compile
Diffstat (limited to 'tests')
-rw-r--r--tests/java5/generics/itds/Parse6.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/java5/generics/itds/Parse6.java b/tests/java5/generics/itds/Parse6.java
index d9f93b288..e3249d7d1 100644
--- a/tests/java5/generics/itds/Parse6.java
+++ b/tests/java5/generics/itds/Parse6.java
@@ -1,3 +1,5 @@
+import java.util.*;
+
class Base<N extends Number> {
public List<N> f1;
@@ -8,9 +10,13 @@ class Base<N extends Number> {
aspect X {
+ public Base<Z>.new(Z aNumber) {
+ ;
+ }
+
public List<Z> Base<Z>.f2;
- public void Base<Z>.m1(List<Z> ns) {}
+ public void Base<Z>.m2(List<Z> ns) {}
}