public void test026_bindingThisAndTargetToTheSameFormal() {
runTest("ajc crashes when compiling the following program (binding this() and target())");
}
-
+
+ public void test027_itdsOnInnerClassesAsStatic() {
+ runTest("ITDs on inner classes should be static context");
+ }
}
<run class="Proceeding3"/>
</ajc-test>
- <ajc-test dir="bugs/oxford" pr="65319"
+ <ajc-test dir="bugs" pr="61572"
+ title="ITDs on inner classes should be static context">
+ <compile files="PR61572.aj">
+ <message kind="error" line="19" text="Cannot make a static reference to the non-static field zzz"></message>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs/oxford" pr="65319"
title="ajc crashes when compiling the following program (binding this() and target())">
<compile files="PR65319.java">
<message kind="error" line="7" text="Cannot use target() to match at this"/>