mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
fix for Bugzilla Bug 61572
ITDs on inner classes should be static contexts
This commit is contained in:
parent
c5d8476b23
commit
bf261abb3a
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user