+++ /dev/null
-public aspect F implements Comparable pertarget(within(F)) {
-
-}
--- /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");
}
<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"/>
// incomplete
}
+ public void testNullDelegateBrokenCode_pr251940() {
+ String p = "pr251940";
+ initialiseProject(p);
+ build(p);
+ checkForError(p, "The type F must implement the inherited");
+ }
+
public void testBeanExample() throws Exception {
String p = "BeanExample";
initialiseProject(p);