Browse Source

test and fix for pr106554: staticinitialization and PTW

tags/preDefaultReweavable
aclement 19 years ago
parent
commit
76d607d6db

+ 2
- 0
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java View File

runTest("compiler error when mixing inheritance, overriding and polymorphism"); runTest("compiler error when mixing inheritance, overriding and polymorphism");
} }
public void testPerTypeWithin_pr106554() {runTest("Problem in staticinitialization with pertypewithin aspect");}
public void testPerTypeWithinMissesNamedInnerTypes() { public void testPerTypeWithinMissesNamedInnerTypes() {
runTest("pertypewithin() handing of inner classes (1)"); runTest("pertypewithin() handing of inner classes (1)");
} }

+ 11
- 0
tests/src/org/aspectj/systemtest/ajc150/ajc150.xml View File

<message kind="weave" text="Join point 'method-execution(void C.m3())' in Type 'C' (AroundAdvice.aj:14) advised by before advice from 'ErrorHandling' (AroundAdvice.aj:8)"/> <message kind="weave" text="Join point 'method-execution(void C.m3())' in Type 'C' (AroundAdvice.aj:14) advised by before advice from 'ErrorHandling' (AroundAdvice.aj:8)"/>
</compile> </compile>
</ajc-test> </ajc-test>
<ajc-test dir="bugs150/pr106554" pr="106554" title="Problem in staticinitialization with pertypewithin aspect">
<compile files="A.aj" options="-showWeaveInfo">
<message kind="weave" text="Join point 'staticinitialization(void A.&lt;clinit&gt;())' in Type 'A' (A.aj:1) advised by before advice from 'StopsInit' (A.aj:21)"/>
</compile>
<run class="A">
<stdout>
<line text="test = 1"/>
</stdout>
</run>
</ajc-test>


<ajc-test dir="bugs150/SimpleInsuranceFailure" title="raw and generic type conversion with itd cons"> <ajc-test dir="bugs150/SimpleInsuranceFailure" title="raw and generic type conversion with itd cons">
<compile files="" options=" -emacssym, -sourceroots ." > <compile files="" options=" -emacssym, -sourceroots ." >

Loading…
Cancel
Save