diff options
author | aclement <aclement> | 2011-02-10 22:52:59 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-02-10 22:52:59 +0000 |
commit | 01be71f629baedd6cc0018b8b4305093c6c91c8a (patch) | |
tree | 75426877ad30d99e50eac423e11aba25068c9f10 /tests/bugs1611/pr336880 | |
parent | 1083a1d359be9ac539de0b0d18414598c80c8c92 (diff) | |
download | aspectj-01be71f629baedd6cc0018b8b4305093c6c91c8a.tar.gz aspectj-01be71f629baedd6cc0018b8b4305093c6c91c8a.zip |
PR336880 PR336774 PR336745
Diffstat (limited to 'tests/bugs1611/pr336880')
-rw-r--r-- | tests/bugs1611/pr336880/First.java | 11 | ||||
-rw-r--r-- | tests/bugs1611/pr336880/Second.java | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs1611/pr336880/First.java b/tests/bugs1611/pr336880/First.java new file mode 100644 index 000000000..ad46da0c6 --- /dev/null +++ b/tests/bugs1611/pr336880/First.java @@ -0,0 +1,11 @@ +interface II {} + + +aspect X { + public <XXX extends I1, YYY extends I2> YYY II.foo(XXX r, Class<YYY> ct) { +return null; + } +} + +interface I1 {} +interface I2 {} diff --git a/tests/bugs1611/pr336880/Second.java b/tests/bugs1611/pr336880/Second.java new file mode 100644 index 000000000..257f169b2 --- /dev/null +++ b/tests/bugs1611/pr336880/Second.java @@ -0,0 +1,13 @@ +class C implements II {} + +class D { + public static void m() { + C c = new C(); + E1 e1 = new E1(); + E2 e2 = new E2(); + c.foo(e1,e2.getClass()); + } +} + +class E1 implements I1 {} +class E2 implements I2 {} |