diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs152/pr136258/StatisticsTypeImpl.java | 14 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java | 3 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc152/ajc152.xml | 5 |
3 files changed, 21 insertions, 1 deletions
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 @@ </run> </ajc-test> + <ajc-test dir="bugs152/pr136258" title="stack overflow"> + <compile files="StatisticsTypeImpl.java" options="-1.5"/> + <run class="StatisticsTypeImpl"/> + </ajc-test> + </suite>
\ No newline at end of file |