fix for Bugzilla Bug 61572

ITDs on inner classes should be static contexts
This commit is contained in:
acolyer 2004-08-10 16:33:42 +00:00
parent c5d8476b23
commit bf261abb3a
2 changed files with 12 additions and 2 deletions

View File

@ -145,6 +145,9 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
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");
}
}

View File

@ -203,7 +203,14 @@
<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"/>