}
public void testLTWGeneratedAspectAbstractMethod_pr125480() {
- runTest("aop.xml aspect inheriting abstract method ");
+ runTest("aop.xml aspect inheriting abstract method");
}
public void testLTWGeneratedAspectAbstractMethod_pr125480_2() {
<line text="RecoveryNotSelf.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
</stdout>
</run>
- <run class="services.account.StockQuoteServiceTest" ltw="aop-notself.xml">
+ <run class="services.account.StockQuoteServiceTest" ltw="aop-notself.xml" usefullltw="true">
<stdout>
<line text="RecoveryNotSelf.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
</stdout>
<ajc-test dir="bugs150/pr119657" title="IllegalAccessError with around advice on interface method call using -XterminateAfterCompilation and LTW">
<compile files="services/account/StockQuoteServiceTest.java, services/accountdata/StockAccount.java, services/stockquote/StockQuoteService.java, services/stockquote/StockQuoteServiceImpl.java, services/account/AccountReport.java" options="-1.5"/>
<compile files="accounts/recovery/Recovery.aj" options="-1.5 -XterminateAfterCompilation"/>
- <run class="services.account.StockQuoteServiceTest" ltw="aop.xml">
+ <run class="services.account.StockQuoteServiceTest" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="Recovery.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
</stdout>
<ajc-test dir="bugs150/pr119657" title="IllegalAccessError with around advice on interface method call using LTW">
<compile files="services/account/StockQuoteServiceTest.java, services/accountdata/StockAccount.java, services/stockquote/StockQuoteService.java, services/stockquote/StockQuoteServiceImpl.java, services/account/AccountReport.java" options="-1.5"/>
<compile files="accounts/recovery/Recovery.aj" options="-1.5"/>
- <run class="services.account.StockQuoteServiceTest" ltw="aop.xml">
+ <run class="services.account.StockQuoteServiceTest" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="Recovery.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
</stdout>
<ajc-test dir="bugs150/pr119657" title="IllegalAccessError with around advice on interface method call not self using LTW">
<compile files="services/account/StockQuoteServiceTest.java, services/accountdata/StockAccount.java, services/stockquote/StockQuoteService.java, services/stockquote/StockQuoteServiceImpl.java, services/account/AccountReport.java" options="-1.5"/>
<compile files="accounts/recovery/RecoveryNotSelf.aj" options="-1.4"/>
- <run class="services.account.StockQuoteServiceTest" ltw="aop-notself.xml">
+ <run class="services.account.StockQuoteServiceTest" ltw="aop-notself.xml" usefullltw="true">
<stdout>
<line text="RecoveryNotSelf.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
</stdout>
<ajc-test dir="bugs150/pr119657" title="IllegalAccessError with around advice on interface method call self and not self using LTW">
<compile files="services/account/StockQuoteServiceTest.java, services/accountdata/StockAccount.java, services/stockquote/StockQuoteService.java, services/stockquote/StockQuoteServiceImpl.java, services/account/AccountReport.java" options="-1.5"/>
<compile files="accounts/recovery/Recovery.aj, accounts/recovery/RecoveryNotSelf.aj" options="-1.5"/>
- <run class="services.account.StockQuoteServiceTest" ltw="aop-selfandnotself.xml">
+ <run class="services.account.StockQuoteServiceTest" ltw="aop-selfandnotself.xml" usefullltw="true">
<stdout>
<line text="Recovery.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
<line text="RecoveryNotSelf.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
<ajc-test dir="bugs150/pr119657" title="IllegalAccessError with around advice on interface method call using LTW and -XnoInline">
<compile files="services/account/StockQuoteServiceTest.java, services/accountdata/StockAccount.java, services/stockquote/StockQuoteService.java, services/stockquote/StockQuoteServiceImpl.java, services/account/AccountReport.java" options="-1.5"/>
<compile files="accounts/recovery/Recovery.aj" options="-1.5"/>
- <run class="services.account.StockQuoteServiceTest" ltw="aop-noinline.xml">
+ <run class="services.account.StockQuoteServiceTest" ltw="aop-noinline.xml" usefullltw="true">
<stdout>
<line text="Recovery.around() call(float services.stockquote.StockQuoteService.getQuote(String))"/>
</stdout>
<ajc-test dir="bugs150/pr121385" title="override protected pointcut in aop.xml concrete aspect">
<compile files="Hello.java" options="-1.5"/>
<compile files="World.aj, ConcreteWorld.aj" options="-1.4"/>
- <run class="Hello" ltw="aop.xml">
+ <run class="Hello" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="around start!"/>
<line text="Hello"/>
<compile files="AbstractSuperAspect.aj" outjar="aspect.jar"
options="-1.4">
</compile>
- <run class="Main" ltw="aop-defineaspect.xml">
+ <run class="Main" ltw="aop-defineaspect.xml" usefullltw="true">
<stdout>
<line text="Main.main" />
<line text="Main.test1" />
<suite>
<!-- atDecp begin -->
-
+
<!-- something simple -->
<ajc-test dir="bugs151/atDecp/case1" title="atDecp - simple">
<compile files="MainClass.java" options="-1.5 -showWeaveInfo">
</stderr>
</run>
</ajc-test>
-
+
<!-- applying parent based on annotation -->
<ajc-test dir="bugs151/atDecp/case2" title="atDecp - annotation">
<compile files="MainClass.java" options="-1.5 -showWeaveInfo">
</stderr>
</run>
</ajc-test>
-
+
<!-- when interface is binary -->
<ajc-test dir="bugs151/atDecp/case3" title="atDecp - binary interface">
<compile files="Mood.java,Moody.java" outjar="moody.jar" options="-1.5"/>
</stderr>
</run>
</ajc-test>
-
+
<!-- when interface is binary and implementation is not an inner -->
<ajc-test dir="bugs151/atDecp/case4" title="atDecp - binary interface - 2">
<compile files="Mood.java,Moody.java" outjar="moody.jar" options="-1.5"/>
</stderr>
</run>
</ajc-test>
-
+
<!-- atDecp end -->
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr98901" title="annotations and itds - 2">
<compile files="Failing2.java" options="-1.5"/>
<run class="Failing2">
<compile files="InputAnnotation.java" outjar="foo.jar" options="-1.5"/>
<compile files="AffectedType.java" classpath="foo.jar" options="-1.5"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr132926" pr="132926" title="crashing on annotation type resolving with asm - 3">
<compile files="InputAnnotation2.java" outjar="foo.jar" options="-1.5"/>
<compile files="AffectedType.java" classpath="foo.jar" options="-1.5">
<message kind="error" line="9" text="AffectedType is not a valid target for annotation InputAnnotation, this annotation can only be applied to these element types {METHOD}"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr133307" title="circular generics">
<compile files="Broken.aj" options="-1.5"/>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="bugs151/pr123553" title="generic advice parameters">
<compile files="A.java" options="-1.5"/>
<run class="A"/>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="bugs151/pr133298" title="doubly annotating a method with declare">
<compile files="DecA.java" options="-1.5"/>
<run class="DecA">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr133298" title="doubly annotating a method with declare - 2">
<compile files="DecA2.java" options="-1.5"/>
<run class="DecA2">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr129566" title="arrayindexoutofbounds">
<compile files="SkipList.java" options="-1.5"/>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="bugs151" title="member types in generic types">
<compile files="pr122458.aj" options="-1.5 -emacssym"/>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="bugs151/pr127299" title="missing import gives funny message">
<compile files="ModelErrorConversion.aj" options="-1.5"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr122742" title="@AJ VerifyError with @AfterThrowing and thisJoinPoint argument">
<compile files="AfterThrowingTest.java" options="-1.5"/>
<run class="AfterThrowingTest">
<run class="AfterReturningTest">
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr120527" title="incorrect unused interface message">
<compile files="Bugs.aj" options="-warn:unusedPrivate"/>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="bugs151/pr123901" title="inlinevisitor NPE">
<compile files="A.java,B.java" options="-1.5">
<message kind="error" line="5" text="A cannot be resolved or is not a field"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="bugs151" title="member types in generic types - 2">
<compile files="pr122458_2.aj" options="-1.5 -emacssym"/>
<run class="pr122458_2"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr123695" title="Internal nullptr exception with complex declare annotation">
<compile files="InjectName.java,Main.java,MarkMyMethods.java,MarkMyMethodsAspect.java,NameAspect.java,Named.java,Read.java,Write.java" options="-1.5"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr124105" title="hasMember problems with packages">
<compile files="com/test/IOption.java,com/test/IXOption.java,com/test/IYOption.java,com/test/IZOption.java,com/test/MyBrokenXOption.java,com/test/MyXOption.java,com/test/OptionAspect.aj,com/test/OptionType.java" options="-1.5 -XhasMember">
<message kind="error" line="4" text="IOption implementations must provide a constructor which accepts an OptionType"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr124803" title="generics and different numbers of type variables">
<compile files="Test.java,TestAspect.java" options="-1.5 -showWeaveInfo">
<message kind="weave" text="Join point 'method-execution(void Test.foo(java.lang.Number))' in Type 'Test' (Test.java:12) advised by after advice from 'TestAspect' (TestAspect.java:4)"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr124803" title="generics and different numbers of type variables - classes">
<compile files="Test2.java,TestAspect2.java" options="-1.5 -showWeaveInfo">
<message kind="weave" text="Join point 'method-execution(void Test2.foo(java.lang.Number))' in Type 'Test2' (Test2.java:12) advised by after advice from 'TestAspect2' (TestAspect2.java:4)"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr124808" title="parameterized collection fields matched via pointcut">
<compile files="Test.java,TestAspect.java" options="-1.5"/>
<run class="Test">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151" title="calling inherited generic method from around advice">
<compile files="pr124999.aj" options="-1.5"/>
<run class="pr124999"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr124654" title="generic aspects and annotations">
<compile files="GenericAnnotation.java,TestSubAspect.java" options="-1.5"/>
<run class="TestSubAspect">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151" title="incorrectly referencing pointcuts">
<compile files="pr122452.aj" options="-1.5">
<message kind="warning" line="2" text="no match for this type name: Point [Xlint:invalidAbsoluteTypeName]"/>
<message kind="error" line="4" text="Syntax error on token "*", "(" expected"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="bugs151" title="incorrectly referencing pointcuts - 2">
<compile files="pr122452_2.aj" options="-1.5">
<message kind="error" line="2" text="Syntax error on token "*", "(" expected"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr125080" title="mixing numbers of type parameters">
<compile files="Test.java" options="-1.5"/>
<run class="ConcreteAspect"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr125080" title="mixing numbers of type parameters - 2">
<compile files="Test2.java" options="-1.5"/>
<run class="ConcreteAspect"/>
<ajc-test dir="bugs151/pr125295" title="new IProgramElement methods">
<compile files="pkg/C.java,pkg/A.aj" options="-emacssym"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr125475" title="define empty pointcut using an annotation">
<compile files="TestEmptyPointcutAtAspect.java" options="-1.5"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr125475" title="define empty pointcut using an annotation - 2">
<compile files="TestEmptyPointcutAtAspect2.java" options="-1.5 -showWeaveInfo">
<message kind="warning" line="10" text="advice defined in TestEmptyPointcutAtAspect2 has not been applied [Xlint:adviceDidNotMatch]"/>
<compile files="Test.java TestAspect.aj"/>
<run class="Test" ltw="aop.xml"/>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr128744" title="broken ltw">
<compile files="Hello.java World.java" options="-1.5" />
- <run class="Hello" ltw="aop.xml">
+ <run class="Hello" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="Hello"/>
<line text="World"/>
</stdout>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151/pr125699" title="inherit advice with this() and thisJoinPoint">
<compile files="Tracing.aj, TestTracing.aj, AtTestTracing.java" options="-1.5">
<message kind="warning" line="13" text="advice defined in Tracing has not been applied [Xlint:adviceDidNotMatch]"/>
<ajc-test dir="bugs151" title="E extends Enum(E) again">
<compile files="Pr126316.aj" options="-1.5"/>
- </ajc-test>
+ </ajc-test>
<ajc-test dir="bugs151" title="@AJ without JoinPoint import">
<compile files="pr121616.java" options="-1.5">
</stdout>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs151" title="Pointcut interfaces">
<compile files="pr130869.aj" options="-1.5">
<message kind="warning" line="30" text="no directly runnable classes"/>
<compile files="pr131933.aj" options="-1.5">
<message kind="error" line="5" text="can't bind type name 'MyList'"/>
</compile>
- </ajc-test>
+ </ajc-test>
<!-- New features down here... when they arent big enough to have their own test file -->
-
+
<ajc-test dir="features151/ptw" title="exposing withintype">
<compile files="ExposedType.java" options="-1.5"/>
<run class="ExposedType">
<line text="here I am execution(void ExposedTypeThree.foo()): for class ExposedTypeThree"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features151/swallowedExceptions" title="swallowed exceptions">
<compile files="SwallowedException.java" options="-Xlint:warning">
<message kind="warning" line="11" text="Exception swallowed in catch block"/>
<compile files="SwallowedException.java">
</compile>
</ajc-test>
-</suite>
\ No newline at end of file
+</suite>
</run>
</ajc-test>
- <ajc-test dir="bugs152/pr125480" title="aop.xml aspect inheriting abstract method ">
+ <ajc-test dir="bugs152/pr125480" title="aop.xml aspect inheriting abstract method">
<compile files="HelloWorld.java"/>
<compile files="AbstractMethods.aj, ConcreteMethods.aj" options="-1.5"/>
- <run class="HelloWorld" ltw="aop-tracing.xml">
+ <run class="HelloWorld" ltw="aop-tracing.xml" usefullltw="true">
<stdout>
<line text="advice running"/>
<line text="Hello World!"/>
<ajc-test dir="bugs152/pr125480/case2" title="aop.xml aspect inheriting abstract method - code style">
<compile files="HelloWorld.java"/>
<compile files="AbstractMethods.aj, ConcreteMethods.aj" options="-1.5"/>
- <run class="HelloWorld" ltw="aop-tracing.xml">
+ <run class="HelloWorld" ltw="aop-tracing.xml" usefullltw="true">
<stdout>
<line text="advice running"/>
<line text="Hello World!"/>
<ajc-test dir="bugs152/pr142165" title="broken concretization">
<compile files="C.java" options="-1.5"/>
<compile files="A.java" options="-1.5"/>
- <run class="C" ltw="aop.xml">
+ <run class="C" ltw="aop.xml" usefullltw="true">
<stderr>
<line text="warning at Type 'AA' (no debug info available)::0 no match for this type name: SomeType [Xlint:invalidAbsoluteTypeName]"/>
<line text="foo running"/>
<ajc-test dir="bugs152/pr142165" title="broken concretization - 2">
<compile files="C.java" options="-1.5"/>
<compile files="A.java" options="-1.5"/>
- <run class="C" ltw="aop2.xml">
+ <run class="C" ltw="aop2.xml" usefullltw="true">
<stderr>
<line text="foo running"/>
</stderr>
<ajc-test dir="bugs152/pr142165" title="broken concretization - 3">
<compile files="C.java" options="-1.5"/>
<compile files="A.java" options="-1.5"/>
- <run class="C" ltw="aop3.xml">
+ <run class="C" ltw="aop3.xml" usefullltw="true">
<stderr>
<line text="advice"/>
<line text="foo running"/>
<!-- AspectJ v1.5.1 Tests -->
<suite>
-
+
<ajc-test dir="features152/synchronization" title="basic">
<compile files="Basic.java" options="-1.5 -showWeaveInfo -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="basic - within">
<compile files="Basic2.java" options="-1.5 -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="basic - within plus args">
<compile files="Basic3.java" options="-1.5 -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="basic - within plus this">
<compile files="Basic4.java" options="-1.5 -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="basic - within plus target">
<compile files="Basic5.java" options="-1.5 -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="parsing - lock">
<compile files="Parsing1.java" options="-1.5 -Xjoinpoints:synchronization">
<message kind="warning" line="5" text="advice defined in Parsing1 has not been applied [Xlint:adviceDidNotMatch]"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="parsing - unlock">
<compile files="Parsing2.java" options="-1.5 -Xjoinpoints:synchronization">
<message kind="warning" line="5" text="advice defined in Parsing2 has not been applied [Xlint:adviceDidNotMatch]"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="parsing - error - lock">
<compile files="Parsing1.java" options="-1.5">
<message kind="warning" line="5" text="advice defined in Parsing1 has not been applied [Xlint:adviceDidNotMatch]"/>
<message kind="warning" line="5" text="lock() pointcut designator cannot be used without the option -Xjoinpoints:synchronization"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="parsing - error - unlock">
<compile files="Parsing2.java" options="-1.5">
<message kind="warning" line="5" text="advice defined in Parsing2 has not been applied [Xlint:adviceDidNotMatch]"/>
<message kind="warning" line="5" text="unlock() pointcut designator cannot be used without the option -Xjoinpoints:synchronization"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="parsing and matching - lock and static context">
<compile files="ParsingAndMatching1.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="ParsingAndMatching1">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="using lock with LTW - missing flag">
<compile files="LockAspect1.java" options="-1.5">
<message kind="warning" line="6" text="lock() pointcut designator cannot be used without the option -Xjoinpoints:synchronization"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="transform with LTW">
<compile files="CaptureLock.aj" options="-1.5"/>
<compile files="Program.java" options="-1.5"/>
- <run class="Program" ltw="aop1.xml">
+ <run class="Program" ltw="aop1.xml" usefullltw="true">
<stdout>
<line text="Before a lock or unlock"/>
<line text="hello from b()"/>
</stdout>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="using lock with LTW">
<compile files="LockAspect1.java" options="-1.5 -Xjoinpoints:synchronization"/>
<compile files="BasicProgram1.java" options="-1.5 -Xjoinpoints:synchronization"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="using unlock with LTW">
<compile files="UnlockAspect1.java" options="-1.5 -Xjoinpoints:synchronization"/>
<compile files="BasicProgram1.java" options="-1.5 -Xjoinpoints:synchronization"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="using unlock with LTW - missing flag">
<compile files="UnlockAspect1.java" options="-1.5">
<message kind="warning" line="6" text="unlock() pointcut designator cannot be used without the option -Xjoinpoints:synchronization"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="parsing and matching - lock and non-static context">
<compile files="ParsingAndMatching3.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="ParsingAndMatching3">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="a useful program - with lock">
<compile files="Useful2.java" options="-1.5 -showWeaveInfo -Xjoinpoints:synchronization">
<message kind="weave" text="Join point 'method-execution(void Useful2.main(java.lang.String[]))' in Type 'Useful2' (Useful2.java:33) advised by afterReturning advice from 'LockMonitor' (Useful2.java:25)"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="combining pcds - lock and this">
<compile files="CombiningPCDs1.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="CombiningPCDs1">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="combining pcds - unlock and this">
<compile files="CombiningPCDs2.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="CombiningPCDs2">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="thisjoinpoint - monitor entry">
<compile files="ThisJoinPointLock.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="ThisJoinPointLock">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="thisjoinpoint - monitor exit">
<compile files="ThisJoinPointUnlock.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="ThisJoinPointUnlock">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="prevent double unlock weaving messages and model contents">
<compile files="ThisJoinPointUnlock.java" options="-1.5 -Xjoinpoints:synchronization -showWeaveInfo -emacssym">
<message kind="weave" text="Join point 'lock(void java.lang.Object.<lock>(java.lang.Object))' in Type 'ThisJoinPointUnlock' (ThisJoinPointUnlock.java:38) advised by before advice from 'TJPAspect' (ThisJoinPointUnlock.java:4)"/>
<message kind="weave" text="Join point 'unlock(void java.lang.Object.<unlock>(java.lang.Object))' in Type 'ThisJoinPointUnlock' (ThisJoinPointUnlock.java:38) advised by before advice from 'TJPAspect' (ThisJoinPointUnlock.java:4)"/>
</compile>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="before advice - lock">
<compile files="BeforeLock.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="BeforeLock">
<line text="non-static method running"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features152/synchronization" title="before advice - unlock">
<compile files="BeforeUnlock.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="BeforeUnlock">
<line text="before() unlock: advice running at BeforeUnlock.java:21"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features152/synchronization" title="after advice - lock">
<compile files="AfterLock.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="AfterLock">
<line text="non-static method running"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features152/synchronization" title="after advice - unlock">
<compile files="AfterUnlock.java" options="-1.5 -Xjoinpoints:synchronization"/>
<run class="AfterUnlock">
<line text="after() unlock: advice running at AfterUnlock.java:21"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features152/synchronization" title="around advice - lock">
<compile files="AroundLock.java" options="-1.5 -Xjoinpoints:synchronization">
<message kind="warning" line="11" text="Around advice is not supported on the lock and unlock join points (compiler limitation)"/>
<line text="non-static method running"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features152/synchronization" title="around advice - unlock">
<compile files="AroundUnlock.java" options="-1.5 -Xjoinpoints:synchronization">
<message kind="warning" line="5" text="Around advice is not supported on the lock and unlock join points (compiler limitation)"/>
<line text="non-static method running"/>
</stderr>
</run>
- </ajc-test>
-
+ </ajc-test>
+
<ajc-test dir="features152/synchronization/transformed" title="investigation">
<compile files="Investigation.java">
</compile>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="One">
<compile files="One.java -Xjoinpoints:synchronization">
</compile>
<run class="One"/><!-- will check verification ... -->
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="Two">
<compile files="Two.java -Xjoinpoints:synchronization">
- <message kind="warning" line="14" text="advice matching the synchronized method shadow 'method-execution(void C.ma())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
+ <message kind="warning" line="14" text="advice matching the synchronized method shadow 'method-execution(void C.ma())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
</compile>
<run class="Two">
<stderr>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="Two - xlintoff">
<compile files="Two.java -Xjoinpoints:synchronization -Xlint:ignore"/>
<run class="Two">
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="Three">
<compile files="Three.java -Xjoinpoints:synchronization">
- <message kind="warning" line="20" text="advice matching the synchronized method shadow 'method-execution(void C.m3())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
- <message kind="warning" line="24" text="advice matching the synchronized method shadow 'method-execution(void C.m32())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
+ <message kind="warning" line="20" text="advice matching the synchronized method shadow 'method-execution(void C.m3())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
+ <message kind="warning" line="24" text="advice matching the synchronized method shadow 'method-execution(void C.m32())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
</compile>
<run class="Three">
<stderr>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="Four">
<compile files="Four.java -Xjoinpoints:synchronization">
<message kind="warning" line="16" text="advice matching the synchronized method shadow 'method-execution(void C.m())' will be executed outside the lock rather than inside (compiler limitation) [Xlint"/>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="Five - Java5">
<compile files="Five.java -1.5 -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="Six - preJava5">
<compile files="Six.java -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="lock pcd on transformed non-static method">
<compile files="Seven.java -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="lock pcd on transformed static method - J5">
<compile files="Nine.java -1.5 -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="lock pcd on transformed static method - preJ5">
<compile files="Eleven.java -Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
-
+
+
<ajc-test dir="features152/synchronization/transformed" title="transform static method - preJ5">
<compile files="Fifteen.java" options="-Xjoinpoints:synchronization -1.4">
</compile>
</stderr>
</run>
</ajc-test>
-
-
+
+
<ajc-test dir="features152/synchronization/transformed" title="transform static method - packages - preJ5">
<compile files="Sixteen.java" options="-Xjoinpoints:synchronization -1.4">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization" title="obtaining locked object through getArgs">
<compile files="LockingWithTJP.java" options="-Xjoinpoints:synchronization">
</compile>
</stderr>
</run>
</ajc-test>
-
+
<ajc-test dir="features152/synchronization/transformed" title="other targeters">
<compile files="OtherTargeters.java" options="-Xjoinpoints:synchronization">
<message kind="warning" line="8" text="advice matching the synchronized "/>
</stderr>
</run>
</ajc-test>
-
-
+
+
<ajc-test dir="features152/synchronization/transformed" title="joinpoints enabled but no lock">
<compile files="Fourteen.java" options="-Xjoinpoints:synchronization">
<!--message kind="warning" line="8" text="advice matching the synchronized "/-->
</compile>
<compile files="AbstractSuperAspect.aj" options="-1.4"/>
<compile files="TestAdvice.aj" options="-1.4"/>
- <run class="HelloWorld" ltw="aop-advice.xml">
+ <run class="HelloWorld" ltw="aop-advice.xml" usefullltw="true">
<stdout>
<line text="? ConcreteAspectWithAdvice()"/>
<line text="? void HelloWorld.main(String[])"/>
<compile files="TestITD.aj">
<message line="3" kind="warning" text="this affected type is not exposed to the weaver: AbstractSuperAspectWithInterface"/>
</compile>
- <run class="HelloWorld" ltw="aop-itd.xml">
+ <run class="HelloWorld" ltw="aop-itd.xml" usefullltw="true">
<stdout>
<line text="? void TestITD.interfaceMethod()"/>
<line text="? void HelloWorld.main(String[])"/>
<compile files="HelloWorld.java"/>
<compile files="AbstractSuperAspect.aj" options="-1.4"/>
<compile files="TestAroundClosure.aj" options="-1.4"/>
- <run class="HelloWorld" ltw="aop-aroundclosure.xml">
+ <run class="HelloWorld" ltw="aop-aroundclosure.xml" usefullltw="true">
<stdout>
<line text="> ConcreteAspectWithAroundClosure()"/>
<line text="< ConcreteAspectWithAroundClosure()"/>
<ajc-test dir="bugs153/pr149096" title="Weave concrete sub-aspect with cflow">
<compile files="SimpleTracing.aj" outjar="out.jar"/>
<compile files="TestMain.aj"/>
- <run class="TestMain" ltw="aop-pr149096.xml"/>
+ <run class="TestMain" ltw="aop-pr149096.xml" usefullltw="true"/>
</ajc-test>
<ajc-test dir="bugs153/pr158957" title="NPE with LTW, pointcut library and missing aspect dependency" keywords="ltw">
<ajc-test dir="bugs154/pr148381/simple" title="argNames does not work - simple">
<!-- this compile is just to get code.jar into the sandbox, all the code is already precompiled in code.jar -->
<compile options="-1.5" files="PerformanceMonitor.java" classpath="code.jar"/>
- <run class="test.Main" classpath="code.jar" ltw="META-INF/aop.xml">
+ <run class="test.Main" classpath="code.jar" ltw="META-INF/aop.xml" usefullltw="true">
<stdout>
<line text="This method was intercepted by the advice: Main.foo()"/>
</stdout>
<!-- now loadtime weaving -->
<ajc-test dir="bugs154/pr209019/case3" title="various issues with ltw and around advice - 4">
<compile options="-1.5" files="A.java,AbstractDurationMethod.java,Runner.java"/>
- <run class="Runner" ltw="aop.xml">
+ <run class="Runner" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="Proceeded at joinpoint call(Object a.b.A.m3())"/>
<line text="Proceeded at joinpoint call(Object a.b.A.m2())"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 2">
<compile files="Hello.java JavaHelper.java"/>
- <run class="Hello" ltw="aop2.xml">
+ <run class="Hello" ltw="aop2.xml" usefullltw="true">
<stdout>
<line text="Hello"/>
<line text="World"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 3">
<compile files="Hello.java JavaHelper.java"/>
- <run class="Hello" ltw="aop3.xml">
+ <run class="Hello" ltw="aop3.xml" usefullltw="true">
<stdout>
<line text="Hello"/>
<line text="World"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 4">
<compile files="Hello.java JavaHelper.java"/>
- <run class="Hello" ltw="aop4.xml">
+ <run class="Hello" ltw="aop4.xml" usefullltw="true">
<stdout>
<line text="Hello"/>
<line text="World"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 5">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop5.xml">
+ <run class="Hello2" ltw="aop5.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="in advice: s=world"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 6">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop6.xml">
+ <run class="Hello2" ltw="aop6.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="in advice: s=world"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 7">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop7.xml">
+ <run class="Hello2" ltw="aop7.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="in advice4: s=world at execution(int Hello2.say2(String))"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 8">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop8.xml">
+ <run class="Hello2" ltw="aop8.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="in advice6: s=world at execution(int Hello2.say2(String))"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 9">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop9.xml">
+ <run class="Hello2" ltw="aop9.xml" usefullltw="true">
<stdout>
<line text="in around advice: s=hello at execution(void Hello2.say1(String))"/>
</stdout>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 10">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop10.xml">
+ <run class="Hello2" ltw="aop10.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="in around2 advice: s=world at execution(int Hello2.say2(String))"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 11">
<compile files="Hello2.java JavaHelper.java"/>
- <run class="Hello2" ltw="aop11.xml">
+ <run class="Hello2" ltw="aop11.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="abcde"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 12">
<compile files="Hello3.java JavaHelper.java"/>
- <run class="Hello3" ltw="aop12.xml">
+ <run class="Hello3" ltw="aop12.xml" usefullltw="true">
<stdout>
<line text="hello"/>
<line text="around4 running"/>
<ajc-test dir="bugs1612/xmldefs" title="xml defined advice 13">
<compile files="Hello2.java JavaHelper2.java"/>
- <run class="Hello2" ltw="aop13.xml">
+ <run class="Hello2" ltw="aop13.xml" usefullltw="true">
<stdout>
<line text="in advice"/>
<line text="hello"/>
<ajc-test dir="bugs162/pr246918" title="ltw perclause">
<compile options="-1.5" files="Code.java Dode.java" outjar="code.jar"/>
<compile options="-1.5 -Xlint:ignore" files="Base.java" outjar="aspects.jar"/>
- <run class="Code" classpath="aspects.jar,code.jar" ltw="aop1.xml">
+ <run class="Code" classpath="aspects.jar,code.jar" ltw="aop1.xml" usefullltw="true">
<stderr>
<line text="advice fired class Code"/>
<line text="advice fired class Dode"/>
<ajc-test dir="bugs162/pr246918" title="ltw perclause - 2">
<compile options="-1.5" files="Code.java Dode.java" outjar="code.jar"/>
<compile options="-1.5 -Xlint:ignore" files="Base.java" outjar="aspects.jar"/>
- <run class="Code" classpath="aspects.jar,code.jar" ltw="aop2.xml">
+ <run class="Code" classpath="aspects.jar,code.jar" ltw="aop2.xml" usefullltw="true">
<stderr>
<line text="advice fired class Dode"/>
</stderr>
<ajc-test dir="bugs162/pr246918" title="ltw perclause - 3">
<compile options="-1.5" files="Code.java Dode.java" outjar="code.jar"/>
<compile options="-1.5 -Xlint:ignore" files="Base2.java" outjar="aspects.jar"/>
- <run class="Code" classpath="aspects.jar,code.jar" ltw="aop3.xml">
+ <run class="Code" classpath="aspects.jar,code.jar" ltw="aop3.xml" usefullltw="true">
<stderr>
<line text="advice fired class Dode"/>
</stderr>
<ajc-test dir="bugs164/pr266220" title="generics and aop.xml">
<compile files="Code.java"/>
<compile files="Isolator.java" outjar="aspects.jar" options="-1.5"/>
- <run class="Code" classpath="aspects.jar" ltw="aop.xml">
+ <run class="Code" classpath="aspects.jar" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="execution(void Code.main(String[]))"/>
<line text="execution(void Code.run())"/>
<ajc-test dir="bugs170/xmldefs" title="xml defined dec at method">
<compile files="Hello.java Anno.java" options="-1.5"/>
- <run class="Hello" ltw="aop.xml">
+ <run class="Hello" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="Hello"/>
<line text="World"/>
<ajc-test dir="bugs170/xmldefs" title="xml defined dec at method 2">
<compile files="Hello.java Anno2.java" options="-1.5"/>
- <run class="Hello" ltw="aop2.xml">
+ <run class="Hello" ltw="aop2.xml" usefullltw="true">
<stdout>
<line text="Hello"/>
<line text="World"/>
<ajc-test dir="bugs180/432178" title="percflow ltw">
<compile options="-1.8" files="A.java B.java"/>
<compile options="-1.8" files="PerCFlowBug.java"/>
- <run class="A" ltw="aop.xml">
+ <run class="A" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="foo"/>
<line text="bar"/>
</stdout>
</run>
</ajc-test>
-
+
<ajc-test dir="bugs180/pr432714" title="stackmapframe">
<compile options="-1.8" files="Code.java"/>
<run class="Code"/>
</ajc-test>
-
+
<ajc-test dir="bugs180/pr431976" title="thisJoinPoint not initialized">
<compile options="-1.8" files="Code.java"/>
</ajc-test>
<ajc-test dir="bugs180/pr431541" title="NullAnnotationMatching exception">
<compile options="-1.8" files="Test.aj"/>
</ajc-test>
-
+
<ajc-test dir="bugs180/415957" title="annotations with 1.8 flags">
<compile files="MyAspect.aj MyClass.java Resource.java" options="-1.8 -showWeaveInfo">
<message kind="weave" text="Join point 'method-execution(void MyClass.method())' in Type 'MyClass' (MyClass.java:3) advised by before advice from 'MyAspect' (MyAspect.aj:5)"/>
<ajc-test dir="bugs1810/508661" title="various ltw">
<compile options="-1.8" files="CacheMethodResult.java A_yes.java B_no.java Run.java" outjar="classes.jar"/>
<compile options="-1.8 -Xlint:ignore" files="CacheMethodResultAspect.java" outjar="aspects.jar"/>
- <run class="Run" ltw="aop.xml">
+ <run class="Run" ltw="aop.xml" usefullltw="true">
<stdout>
<line text="around: void A_yes.m()"/>
<line text="A_yes.m()"/>