diff options
author | aclement <aclement> | 2005-10-14 17:57:56 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-14 17:57:56 +0000 |
commit | 51b0f6261c8b20d424bc7d2a69dba17976894caf (patch) | |
tree | 67f8e3e772d8c74be2568c5b02c3e4fd7d613bbe /tests/java5/generics | |
parent | 7e397dbfae904a4cb9d9e2fdd2f08d5361b336a0 (diff) | |
download | aspectj-51b0f6261c8b20d424bc7d2a69dba17976894caf.tar.gz aspectj-51b0f6261c8b20d424bc7d2a69dba17976894caf.zip |
Updates for generic ITDs - see pr112105 for a description of all changes.
Diffstat (limited to 'tests/java5/generics')
-rw-r--r-- | tests/java5/generics/itds/design/DesignC.java | 7 | ||||
-rw-r--r-- | tests/java5/generics/itds/design/DesignD.java | 13 |
2 files changed, 18 insertions, 2 deletions
diff --git a/tests/java5/generics/itds/design/DesignC.java b/tests/java5/generics/itds/design/DesignC.java index 8e25e9f56..51d410843 100644 --- a/tests/java5/generics/itds/design/DesignC.java +++ b/tests/java5/generics/itds/design/DesignC.java @@ -1,10 +1,13 @@ +import java.util.*; + class C {} interface I {} aspect X { - <T extends Number,Q extends I> void C.m0(T t,Q q) {} // L7 + <T extends Number,Q extends I> void C.m0(T t,Q q) { } // L9 + + <A,B,C> List<A> C.m1(B b,Collection<C> cs) { return null; } // L11 - <A,B,C> List<A> C.m1(B b,Collection<C> cs) {} // L9 } diff --git a/tests/java5/generics/itds/design/DesignD.java b/tests/java5/generics/itds/design/DesignD.java new file mode 100644 index 000000000..33487fe53 --- /dev/null +++ b/tests/java5/generics/itds/design/DesignD.java @@ -0,0 +1,13 @@ +import java.util.*; + +class C<N extends Number> {} + +interface I {} + +aspect X { + + void C<R>.m0(R n) { } // L9 + + List<Q> C<Q>.m0(Q q,int i,List<List<Q>> qs) {return null;} // L11 + +} |