diff options
author | aclement <aclement> | 2006-07-03 13:49:07 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-07-03 13:49:07 +0000 |
commit | f6834c7692082a20e94f7d88841e6c7c3f96c26a (patch) | |
tree | 1784ed9360cbd0aee717da073fd573cfe5b5926d /tests/src | |
parent | 8930b0ddd121c0235689469fec3ebe8b86a65c40 (diff) | |
download | aspectj-f6834c7692082a20e94f7d88841e6c7c3f96c26a.tar.gz aspectj-f6834c7692082a20e94f7d88841e6c7c3f96c26a.zip |
test and fix for 148737
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java | 2 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc153/ajc153.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java index 8899c4581..2fdfb4664 100644 --- a/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java @@ -20,6 +20,8 @@ public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");} + public void testIllegalStateException_pr148737() { runTest("illegalstateexception for non generic type");} + ///////////////////////////////////////// public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class); diff --git a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml index 45371bed1..ae3f14d87 100644 --- a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml +++ b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml @@ -14,4 +14,10 @@ </run> </ajc-test> + <ajc-test dir="bugs153/pr148737" title="illegalstateexception for non generic type"> + <compile files="A.java" options="-source 5 -target 5"> + <message kind="warning" line="18" text="advice defined in TestAspect has not been applied"/> + </compile> + </ajc-test> + </suite>
\ No newline at end of file |