]> source.dussan.org Git - aspectj.git/commitdiff
A few dozen more tests need 'useFullLTW' mode
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 23 Mar 2022 03:08:50 +0000 (10:08 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 23 Mar 2022 03:10:28 +0000 (10:10 +0700)
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
14 files changed:
tests/src/test/java/org/aspectj/systemtest/ajc152/Ajc152Tests.java
tests/src/test/resources/org/aspectj/systemtest/ajc150/ajc150.xml
tests/src/test/resources/org/aspectj/systemtest/ajc150/ltw/ltw.xml
tests/src/test/resources/org/aspectj/systemtest/ajc151/ajc151.xml
tests/src/test/resources/org/aspectj/systemtest/ajc152/ajc152.xml
tests/src/test/resources/org/aspectj/systemtest/ajc152/synchronization.xml
tests/src/test/resources/org/aspectj/systemtest/ajc153/ajc153.xml
tests/src/test/resources/org/aspectj/systemtest/ajc154/ajc154.xml
tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml
tests/src/test/resources/org/aspectj/systemtest/ajc162/ajc162.xml
tests/src/test/resources/org/aspectj/systemtest/ajc164/ajc164.xml
tests/src/test/resources/org/aspectj/systemtest/ajc170/ajc170.xml
tests/src/test/resources/org/aspectj/systemtest/ajc180/ajc180.xml
tests/src/test/resources/org/aspectj/systemtest/ajc1810/ajc1810.xml

index 8bcdb63e0880535e73d401d06728f3179e765272..da8d057b10ad6652891afe67e93fb76189dc29f1 100644 (file)
@@ -168,7 +168,7 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
        }
 
        public void testLTWGeneratedAspectAbstractMethod_pr125480() {
-               runTest("aop.xml aspect inheriting abstract method ");
+               runTest("aop.xml aspect inheriting abstract method");
        }
 
        public void testLTWGeneratedAspectAbstractMethod_pr125480_2() {
index 7963070e0eaf414ede1e62f8c974d80fdb662755..0eb724096a41fb29616a29f3c35ad9242936f091 100644 (file)
            <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"/>
index 652ddecd5d387f60601bde8b6ef2f4dfcb7df24a..975b35cd82336b010efb7c508e83fa4e5742db37 100644 (file)
        <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" />
index 8d8cd66b84356b4db0d7995beee7b2b7dde781cb..f92d235e2c8a92b0eb05227c53f331ffe178d0f1 100644 (file)
@@ -4,7 +4,7 @@
 <suite>
 
     <!-- atDecp begin -->
-   
+
     <!-- something simple -->
     <ajc-test dir="bugs151/atDecp/case1" title="atDecp - simple">
       <compile files="MainClass.java" options="-1.5 -showWeaveInfo">
@@ -20,7 +20,7 @@
          </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">
@@ -36,7 +36,7 @@
          </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"/>
@@ -53,7 +53,7 @@
          </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"/>
@@ -70,7 +70,7 @@
          </stderr>
       </run>
     </ajc-test>
-    
+
     <!-- atDecp end -->
 
 
@@ -99,7 +99,7 @@
        </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 &quot;*&quot;, &quot;(&quot; 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 &quot;*&quot;, &quot;(&quot; 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>
index 13297309c6b3f1f47e21d3e0804dbb6a753988ff..91ec2438595a5f575fec02d40cd99477287ce43a 100644 (file)
       </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"/>
index 99096fa534b7f2d0758542baaae89f4825c8eeb1..f2c8cb02b2cb9e2d8c49c7fa806a235ab6c3dfc0 100644 (file)
@@ -2,7 +2,7 @@
 
 <!-- AspectJ v1.5.1 Tests -->
 <suite>
-    
+
     <ajc-test dir="features152/synchronization" title="basic">
         <compile files="Basic.java" options="-1.5 -showWeaveInfo -Xjoinpoints:synchronization">
         </compile>
@@ -15,7 +15,7 @@
           </stderr>
         </run>
     </ajc-test>
-    
+
     <ajc-test dir="features152/synchronization" title="basic - within">
         <compile files="Basic2.java" options="-1.5 -Xjoinpoints:synchronization">
         </compile>
@@ -36,7 +36,7 @@
           </stderr>
         </run>
     </ajc-test>
-    
+
     <ajc-test dir="features152/synchronization" title="basic - within plus args">
         <compile files="Basic3.java" options="-1.5 -Xjoinpoints:synchronization">
         </compile>
@@ -57,7 +57,7 @@
           </stderr>
         </run>
     </ajc-test>
-    
+
     <ajc-test dir="features152/synchronization" title="basic - within plus this">
         <compile files="Basic4.java" options="-1.5 -Xjoinpoints:synchronization">
         </compile>
@@ -78,7 +78,7 @@
           </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.&lt;lock&gt;(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.&lt;unlock&gt;(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 "/-->
index 00bf094bc5ca0a1a362e8b041112d321bd9d5d2d..21103699b7dd13b14fb19b623b29ff422a631311 100644 (file)
         </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="&gt; ConcreteAspectWithAroundClosure()"/>
                 <line text="&lt; 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">
index a0d38cb6ccef50a436a56dc29d18703a21799570..4031ead6f7961caf9fadba14e4d571052f71d077 100644 (file)
    <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())"/>
index 650bdea43a66a1543aaaf71c9b05621f7f5ee474..11049dcf96923dac9733fffcfd2ad5d0be406e59 100644 (file)
@@ -24,7 +24,7 @@
 
  <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"/>
@@ -42,7 +42,7 @@
 
  <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"/>
@@ -60,7 +60,7 @@
 
  <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"/>
@@ -79,7 +79,7 @@
 
  <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"/>
@@ -91,7 +91,7 @@
 
  <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"/>
index e45a2150955c2f728bfc181f421ee2e4ffe0bc89..94725fab8b3a0196ceca4cc2c003151d0356dd04 100644 (file)
@@ -15,7 +15,7 @@
    <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"/>
@@ -26,7 +26,7 @@
    <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>
@@ -36,7 +36,7 @@
    <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>
index a14d8d0e7c1d94c15f5410a44191d6b153b7c98e..53f705bdace14b66badfd8055b34cff5152fc7c1 100644 (file)
@@ -56,7 +56,7 @@
     <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())"/>
index f3f18f6d9556c7165d582f415e1266c4bb7275cd..21fb5348cc3f694b256312c8d748d81f65f3d1a0 100644 (file)
 
        <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"/>
index 257f5972ce1f1e8ab86b6060ad136ba1707575e0..2f62c5169323b279475da5f07ae68ee5df5aa816 100644 (file)
@@ -5,19 +5,19 @@
        <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>
@@ -25,7 +25,7 @@
        <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)"/>
index 90fcbc1e7b6a92f21fa063b452e20bf7991e9092..3fe89bee55005260397afeb1dda4150f308d1ee0 100644 (file)
@@ -5,7 +5,7 @@
        <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()"/>