From dc4e07a6b04b5b44cbb2134119f9b223add3ca65 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 13 Apr 2006 09:24:46 +0000 Subject: test and fix for 136258 --- tests/bugs152/pr136258/StatisticsTypeImpl.java | 14 ++++++++++++++ tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | 3 ++- tests/src/org/aspectj/systemtest/ajc152/ajc152.xml | 5 +++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tests/bugs152/pr136258/StatisticsTypeImpl.java (limited to 'tests') diff --git a/tests/bugs152/pr136258/StatisticsTypeImpl.java b/tests/bugs152/pr136258/StatisticsTypeImpl.java new file mode 100644 index 000000000..0837f4192 --- /dev/null +++ b/tests/bugs152/pr136258/StatisticsTypeImpl.java @@ -0,0 +1,14 @@ +interface StatisticsType { +} + +public class StatisticsTypeImpl implements StatisticsType { + static class UIStatisticsType extends UofwStatisticsType { + }; + + public static void main(String argz[]) { + System.out.println(new UIStatisticsType().toString()); + } +} + +class UofwStatisticsType extends StatisticsTypeImpl { +} \ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java index 18baacb7e..06c11766c 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java @@ -16,8 +16,9 @@ import junit.framework.Test; import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testAspectLibrariesAndASM_pr135001() { runTest("aspect libraries and asm");} - + public void testStackOverflow_pr136258() { runTest("stack overflow");} ///////////////////////////////////////// public static Test suite() { diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml index 75c8c07cf..f020e6dc6 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml @@ -15,4 +15,9 @@ + + + + + \ No newline at end of file -- cgit v1.2.3