From: aclement Date: Tue, 10 Jun 2008 00:15:57 +0000 (+0000) Subject: 199130: testcode X-Git-Tag: V1_6_1rc1~89 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=59facf36ee7ac402f60f5887dceecd14bac47514;p=aspectj.git 199130: testcode --- diff --git a/tests/bugs161/pr199130/Complex.java b/tests/bugs161/pr199130/Complex.java new file mode 100644 index 000000000..36e23645e --- /dev/null +++ b/tests/bugs161/pr199130/Complex.java @@ -0,0 +1,4 @@ +interface A {} +interface B {} +abstract aspect Parent< V extends A > {} +abstract aspect Child< V extends A & B > extends Parent< V > {} diff --git a/tests/bugs161/pr199130/Simple.java b/tests/bugs161/pr199130/Simple.java new file mode 100644 index 000000000..1479a6205 --- /dev/null +++ b/tests/bugs161/pr199130/Simple.java @@ -0,0 +1,12 @@ +interface A {} +abstract aspect Parent< T > { + public void m(T i) {} +} +abstract aspect Child< V extends A > extends Parent< V > { + public void n(V i) {} +} + +public class Simple { + public static void main(String []argv) { + } +} diff --git a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java index 7b15ef994..fe45d6daf 100644 --- a/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc161/Ajc161Tests.java @@ -23,6 +23,8 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // AspectJ1.6.1 + //public void testComplexBoundsGenericAspect_pr199130_1() { runTest("complex bounds on generic aspect - 1");} + //public void testComplexBoundsGenericAspect_pr199130_2() { runTest("complex bounds on generic aspect - 2");} public void testGenericAspectAroundAdvice_pr226201() { runTest("generic aspect around advice");} public void testCrazyGenericsInnerTypes_pr235829() { runTest("crazy generics and inner types");} public void testAnnotationExposureGenerics_pr235597() { runTest("annotation exposure and generics");} diff --git a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml index 8e7e714cd..f4bb6f8a3 100644 --- a/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml +++ b/tests/src/org/aspectj/systemtest/ajc161/ajc161.xml @@ -3,6 +3,18 @@ + + + + + + + + + + + +