From 59facf36ee7ac402f60f5887dceecd14bac47514 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 10 Jun 2008 00:15:57 +0000 Subject: [PATCH] 199130: testcode --- tests/bugs161/pr199130/Complex.java | 4 ++++ tests/bugs161/pr199130/Simple.java | 12 ++++++++++++ .../org/aspectj/systemtest/ajc161/Ajc161Tests.java | 2 ++ tests/src/org/aspectj/systemtest/ajc161/ajc161.xml | 12 ++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 tests/bugs161/pr199130/Complex.java create mode 100644 tests/bugs161/pr199130/Simple.java 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 @@ + + + + + + + + + + + + -- 2.39.5