From 8b80dc4a8508c81a061de6eb63f143cfb3b64e61 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 14 Oct 2008 22:54:01 +0000 Subject: [PATCH] 250632: testcase --- tests/bugs163/pr250632/MyAspect.java | 18 ++++++++++++++++++ .../aspectj/systemtest/ajc163/Ajc163Tests.java | 4 ++++ .../org/aspectj/systemtest/ajc163/ajc163.xml | 5 +++++ 3 files changed, 27 insertions(+) create mode 100644 tests/bugs163/pr250632/MyAspect.java diff --git a/tests/bugs163/pr250632/MyAspect.java b/tests/bugs163/pr250632/MyAspect.java new file mode 100644 index 000000000..a1ddb4f75 --- /dev/null +++ b/tests/bugs163/pr250632/MyAspect.java @@ -0,0 +1,18 @@ +interface IMarker { } + +public aspect MyAspect +{ + + public void IMarker.map() + { + CLOCK[] var = find(); + }; + + + + public CLOCK[] IMarker.find() + { + return null; + } + +} diff --git a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java index 6ab60a65e..2a3679330 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java @@ -18,6 +18,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testGenericMethodConversions_pr250632() { + runTest("type conversion in generic itd"); + } + public void testGenericMethodBridging_pr250493() { runTest("bridge methods for generic itds"); } diff --git a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml index 7967ac163..c44f85a6f 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml +++ b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml @@ -2,6 +2,11 @@ + + + + + -- 2.39.5