--- /dev/null
+public class Code {
+ public void test(){
+ System.out.print(false);
+ if (){
+
+ }
+ }
+}
+
--- /dev/null
+public aspect F implements Comparable pertarget(within(F)) {
+
+}
public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ // public void testImplementsPertarget_pr251940() {
+ // runTest("implements pertarget");
+ // }
+
+ public void testBreakingRecovery_pr226163() {
+ runTest("breaking recovery");
+ }
+
public void testGenericMethodConversions_pr250632() {
runTest("type conversion in generic itd");
}
<suite>
+ <ajc-test dir="bugs163/pr251940" title="implements pertarget">
+ <compile files="F.aj" options="-1.5"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs163/pr226163" title="breaking recovery">
+ <compile files="Code.java" options="-1.5">
+ <message kind="error" line="4" text="Syntax error"/>
+ </compile>
+ </ajc-test>
<ajc-test dir="bugs163/pr250632" title="type conversion in generic itd">
<compile files="MyAspect.java" options="-1.5"/>