diff options
author | aclement <aclement> | 2006-04-13 09:24:46 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-04-13 09:24:46 +0000 |
commit | dc4e07a6b04b5b44cbb2134119f9b223add3ca65 (patch) | |
tree | 6ae937da541ad47f73355d1e0c77feade8658112 /tests | |
parent | d1304320e905040d73d479b2cccaea0124718c01 (diff) | |
download | aspectj-dc4e07a6b04b5b44cbb2134119f9b223add3ca65.tar.gz aspectj-dc4e07a6b04b5b44cbb2134119f9b223add3ca65.zip |
test and fix for 136258
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 |