public void testDecpRepetition_pr214559() { runTest("decp repetition problem");} // all code in one file
public void testDecpRepetition_pr214559_2() { runTest("decp repetition problem - 2");} // all code in one file, default package
public void testDecpRepetition_pr214559_3() { runTest("decp repetition problem - 3");} // across multiple files
+ public void testISEAnnotations_pr209831() { runTest("illegal state exception with annotations");}
+ public void testISEAnnotations_pr209831_2() { runTest("illegal state exception with annotations - 2");}
/////////////////////////////////////////
public static Test suite() {
<compile files="TestClass.java Interface1.java Interface1TestClass.java DeclareParentsPrecedenceTest.java TestAspect.java"/>
<run class="DeclareParentsPrecedenceTest"/>
</ajc-test>
+
+ <ajc-test dir="bugs160/pr209831" title="illegal state exception with annotations">
+ <compile options="-1.5 -showWeaveInfo" files="Test.java">
+ <message kind="weave" text="Join point 'exception-handler(void Test.<catch>(java.lang.Throwable))' in Type 'Test' (Test.java:34) advised by before advice from 'ExactAnnotationTypePatternBug' (Test.java:5)"/>
+ </compile>
+ <run class="Test"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs160/pr209831" title="illegal state exception with annotations - 2">
+ <compile options="-Xlint:ignore -1.5 -showWeaveInfo" files="Test2.java"/>
+ <run class="Test2"/>
+ </ajc-test>
</suite>
\ No newline at end of file