<ajc-test dir="new"
title="properly make choice between cast and parenthesis in parser"
keywords="from-resolved_10x">
- <compile files="JoinPointFields.java"/>
+ <compile options="-1.4" files="JoinPointFields.java"/>
<run class="JoinPointFields"/>
</ajc-test>
<ajc-test dir="new" pr="96"
title="field from implemented interface not found in advice"
keywords="from-resolved_10x">
- <compile files="FieldFromImplementsNotFound.java"/>
+ <compile options="-1.4" files="FieldFromImplementsNotFound.java"/>
<run class="FieldFromImplementsNotFound"/>
</ajc-test>
<ajc-test dir="new"
title="make sure advice affects introduced methods and constructors"
keywords="from-resolved_10x">
- <compile files="AdviceOnIntroduced.java"/>
+ <compile options="-1.4" files="AdviceOnIntroduced.java"/>
<run class="AdviceOnIntroduced"/>
</ajc-test>
<ajc-test dir="new" title="new around construct"
keywords="from-resolved_10x">
- <compile files="AroundAdvice.java"/>
+ <compile options="-1.4" files="AroundAdvice.java"/>
<run class="AroundAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="65" title="aspect redefines a parameter"
keywords="from-resolved_10x">
- <compile files="AspectRedefinesParam.java"/>
+ <compile options="-1.4" files="AspectRedefinesParam.java"/>
<run class="AspectRedefinesParam"/>
</ajc-test>
<ajc-test dir="new" title="introducing extends and implements"
keywords="from-resolved_10x">
- <compile files="HierarchyIntroductions.java"/>
+ <compile options="-1.4" files="HierarchyIntroductions.java"/>
<run class="HierarchyIntroductions"/>
</ajc-test>
<ajc-test dir="new" pr="104" title="(related) aspect on interface"
keywords="from-resolved_10x">
- <compile files="AspectOnInterface.java"/>
+ <compile options="-1.4" files="AspectOnInterface.java"/>
<run class="AspectOnInterface"/>
</ajc-test>
<ajc-test dir="new" title="advice on implied empty constructor"
keywords="from-resolved_10x">
- <compile files="AdviceOnEmptyConstructor.java"/>
+ <compile options="-1.4" files="AdviceOnEmptyConstructor.java"/>
<run class="AdviceOnEmptyConstructor"/>
</ajc-test>
<ajc-test dir="new" title="advice on * *(..) not mapping to initializers"
keywords="from-resolved_10x">
- <compile files="InitializerAdvice.java"/>
+ <compile options="-1.4" files="InitializerAdvice.java"/>
<run class="InitializerAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="three type declarations in the scope of an advice"
keywords="from-resolved_10x">
- <compile files="TypeDeclInAdvice.java"/>
+ <compile options="-1.4" files="TypeDeclInAdvice.java"/>
<run class="TypeDeclInAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="129"
title="introduction fails on class with an inner class that extends or implements something"
keywords="from-resolved_10x">
- <compile files="IntroductionFailsWithInnerClass.java"/>
+ <compile options="-1.4" files="IntroductionFailsWithInnerClass.java"/>
<run class="IntroductionFailsWithInnerClass"/>
</ajc-test>
<ajc-test dir="new" pr="126"
title="checks that methods are introduced on the topmost class implemented"
keywords="from-resolved_10x">
- <compile files="TopmostImplements.java"/>
+ <compile options="-1.4" files="TopmostImplements.java"/>
<run class="TopmostImplements"/>
</ajc-test>
<ajc-test dir="new/arndAdvRet" pr="140"
title="a couple different returns from around advice"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new"
title="member finally advice paired with signature advice"
keywords="from-resolved_10x">
- <compile files="TryErrors.java"/>
+ <compile options="-1.4" files="TryErrors.java"/>
<run class="TryErrors"/>
</ajc-test>
<ajc-test dir="new" title="aspect of eachobject(instanceof(Interface))"
keywords="from-resolved_10x">
- <compile files="AspectOfInterface.java"/>
+ <compile options="-1.4" files="AspectOfInterface.java"/>
<run class="AspectOfInterface"/>
</ajc-test>
<ajc-test dir="new/finalMemInit" pr="162"
title="final member initialization broken with JDK before 1.1.8"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/packageNameClash" pr="205"
title="same package and var name clash in preprocessed code when aspectOf is used"
keywords="from-resolved_10x">
- <compile files="otherpkg/Driver.java,pkg/Aspect1.java,pkg/Class1.java"/>
+ <compile options="-1.4" files="otherpkg/Driver.java,pkg/Aspect1.java,pkg/Class1.java"/>
<run class="otherpkg.Driver"/>
</ajc-test>
<ajc-test dir="new/adviceOnStaticMeth" pr="221"
title="and PR#201 advice on static methods fails javac compile with this"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new"
title="non-static advice on inner class defined inside of method body"
keywords="from-resolved_10x">
- <compile files="MethodInner.java"/>
+ <compile options="-1.4" files="MethodInner.java"/>
<run class="MethodInner"/>
</ajc-test>
<ajc-test dir="new"
title="simple single-threaded eachcflow test (includes aspectOf)"
keywords="from-resolved_10x">
- <compile files="Client.java"/>
+ <compile options="-1.4" files="Client.java"/>
<run class="Client"/>
</ajc-test>
<ajc-test dir="new/scopeTypingBug" pr="191"
title="bad type resolution when var reassigned in same scope"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="242"
title="generating the right throws clause for call-site advice (and around)"
keywords="from-resolved_10x">
- <compile files="ComputedThrows.java"/>
+ <compile options="-1.4" files="ComputedThrows.java"/>
<run class="ComputedThrows"/>
</ajc-test>
<ajc-test dir="new" pr="246"
title="advice on calls to static methods using several syntax"
keywords="from-resolved_10x">
- <compile files="StaticCalls.java"/>
+ <compile options="-1.4" files="StaticCalls.java"/>
<run class="StaticCalls"/>
</ajc-test>
<ajc-test dir="new" pr="248"
title=", PR#249, PR#250 advice on constructor sites"
keywords="from-resolved_10x">
- <compile files="NewSiteAdvice.java" options="-Xlint:ignore"/>
+ <compile files="NewSiteAdvice.java" options="-1.4 -Xlint:ignore"/>
<run class="NewSiteAdvice"/>
</ajc-test>
<ajc-test dir="new" title="test after throwing advice in several ways"
keywords="from-resolved_10x">
- <compile files="AfterThrowing.java"/>
+ <compile options="-1.4" files="AfterThrowing.java"/>
<run class="AfterThrowing"/>
</ajc-test>
<ajc-test dir="new" title="fancy name patterns for method names"
keywords="from-resolved_10x">
- <compile files="WildNames.java"/>
+ <compile options="-1.4" files="WildNames.java"/>
<run class="WildNames"/>
</ajc-test>
<ajc-test dir="design/calls" title="calls: calls(...)"
keywords="from-resolved_10x">
- <compile files="Simple.java" options="-Xlint:ignore"/>
+ <compile files="Simple.java" options="-Xlint:ignore -1.4"/>
<run class="Simple"/>
</ajc-test>
<ajc-test dir="new/extraThrows" pr="259"
title="throws Exception clause is unnecessarily added to Driver.main method"
keywords="from-resolved_10x">
- <compile files="Driver.java" options="-Xlint:ignore"/>
+ <compile files="Driver.java" options="-Xlint:ignore -1.4"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/thisUsedInMain" pr="262"
title="javac fails when this is referenced in the static main method"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/badCast" pr="275"
title="and 276 cast error generated by ajc when type not in signature"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="285"
title="calls to methods to which we don't have source"
keywords="from-resolved_10x">
- <compile files="ExternalCalls.java"/>
+ <compile options="-1.4" files="ExternalCalls.java"/>
<run class="ExternalCalls"/>
</ajc-test>
<ajc-test dir="new/beforeNotRun" pr="265" title="more aspect inheritance"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="310"
title="around and calls with both calling and called this params"
keywords="from-resolved_10x">
- <compile files="AroundAndCalls.java"/>
+ <compile options="-1.4" files="AroundAndCalls.java"/>
<run class="AroundAndCalls"/>
</ajc-test>
<ajc-test dir="new/pointcutParameter" pr="290"
title="compiler crashes with eachobject and named pointcuts with parameters"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/unqualifiedPointcutName" pr="304"
title="lookup rules for unqualified pointcut names"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="321"
title="eachcflow only instantiated if the aspect has some advice in it"
keywords="from-resolved_10x">
- <compile files="CFlowNoAdvice.java"/>
+ <compile options="-1.4" files="CFlowNoAdvice.java"/>
<run class="CFlowNoAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="309"
title="(DESIGN QUESTION) aspect of eachJVM advising its own initializer"
keywords="from-resolved_10x">
- <compile files="EachJVMOnSelf.java"/>
+ <compile options="-1.4" files="EachJVMOnSelf.java"/>
<run class="EachJVMOnSelf"/>
</ajc-test>
<ajc-test dir="new" pr="302"
title="after returning advice on calls to constructors"
keywords="from-resolved_10x">
- <compile files="AfterConstructorCalls.java"/>
+ <compile options="-1.4" files="AfterConstructorCalls.java"/>
<run class="AfterConstructorCalls"/>
</ajc-test>
<ajc-test dir="new"
title="Does annotating 'new' with a type work as desired?"
keywords="from-resolved_10x">
- <compile files="ConstructorSignatures.java"/>
+ <compile options="-1.4" files="ConstructorSignatures.java"/>
<run class="ConstructorSignatures"/>
</ajc-test>
<ajc-test dir="new"
title="Referring to inner classes as {super}.{inner} confused ajc."
keywords="from-resolved_10x">
- <compile files="InnerClassNaming.java"/>
+ <compile options="-1.4" files="InnerClassNaming.java"/>
<run class="InnerClassNaming"/>
</ajc-test>
<ajc-test dir="new" title="Advice on advice" keywords="from-resolved_10x">
- <compile files="AdviceOnAdvice.java"/>
+ <compile options="-1.4" files="AdviceOnAdvice.java"/>
<run class="AdviceOnAdvice"/>
</ajc-test>
<ajc-test dir="new" title="Introductions on other introductions"
keywords="from-resolved_10x">
- <compile files="IntroOnIntro.java"/>
+ <compile options="-1.4" files="IntroOnIntro.java"/>
<run class="IntroOnIntro"/>
</ajc-test>
<ajc-test dir="new" title="Putting advice on array constructors."
keywords="from-resolved_10x">
- <compile files="Orleans.java"/>
+ <compile options="-1.4" files="Orleans.java"/>
<run class="Orleans"/>
</ajc-test>
<ajc-test dir="new"
title="call points within block inner classes are doubled"
keywords="from-resolved_10x">
- <compile files="DoubledCalls.java"/>
+ <compile options="-1.4" files="DoubledCalls.java"/>
<run class="DoubledCalls"/>
</ajc-test>
<ajc-test dir="new" title="Gets and sets with other advice"
keywords="from-resolved_10x">
- <compile files="Counting3.java"/>
+ <compile options="-1.4" files="Counting3.java"/>
<run class="Counting3"/>
</ajc-test>
<ajc-test dir="new" title="Compiler can compile correct strictfp modifiers"
keywords="from-resolved_10x">
- <compile files="StrictFpCompile.java"/>
+ <compile options="-1.4" files="StrictFpCompile.java"/>
<run class="StrictFpCompile"/>
</ajc-test>
<ajc-test dir="new" title="basic test of callsto pointcuts"
keywords="from-resolved_10x">
- <compile files="CallsTo.java"/>
+ <compile options="-1.4" files="CallsTo.java"/>
<run class="CallsTo"/>
</ajc-test>
<ajc-test dir="new" title="package wildcards in packages"
keywords="from-resolved_10x">
- <compile files="pack/PackageWildcards.java"/>
+ <compile options="-1.4" files="pack/PackageWildcards.java"/>
<run class="pack.PackageWildcards"/>
</ajc-test>
<ajc-test dir="new"
title="around advice on calls and receptions with lots of context"
keywords="from-resolved_10x">
- <compile files="AroundCalls.java"/>
+ <compile options="-1.4" files="AroundCalls.java"/>
<run class="AroundCalls"/>
</ajc-test>
<ajc-test dir="new" pr="208"
title="! modifier and char in pointcut (no longer an error)"
keywords="from-resolved_10x">
- <compile files="NotCharInPointcut.java"/>
+ <compile options="-1.4" files="NotCharInPointcut.java"/>
<run class="NotCharInPointcut"/>
</ajc-test>
<ajc-test dir="new" pr="308"
title="right number of aspect instances per cflow"
keywords="from-resolved_10x">
- <compile files="CFlowObjects.java"/>
+ <compile options="-1.4" files="CFlowObjects.java"/>
<run class="CFlowObjects"/>
</ajc-test>
<ajc-test dir="new" pr="310" title="many this's into around advice on calls"
keywords="from-resolved_10x">
- <compile files="AroundCallsArgs.java"/>
+ <compile options="-1.4" files="AroundCallsArgs.java"/>
<run class="AroundCallsArgs"/>
</ajc-test>
<ajc-test dir="new"
title="Ensures introduction methods can have advice placed on them"
keywords="from-resolved_10x">
- <compile files="Dominates.java"/>
+ <compile options="-1.4" files="Dominates.java"/>
<run class="Dominates"/>
</ajc-test>
<ajc-test dir="new" pr="355"
title="No boolean appearing in the 'if' clause for around advice with eachJVM()"
keywords="from-resolved_10x">
- <compile files="PR355.java"/>
+ <compile options="-1.4" files="PR355.java"/>
<run class="PR355"/>
</ajc-test>
<ajc-test dir="new" title="Order of super introductions."
keywords="from-resolved_10x">
- <compile files="OrderOfExtendsPlusAndImplementsPlus.java"/>
+ <compile options="-1.4" files="OrderOfExtendsPlusAndImplementsPlus.java"/>
<run class="OrderOfExtendsPlusAndImplementsPlus"/>
</ajc-test>
<ajc-test dir="new" title="Ensuring backdoor methods are produced."
keywords="from-resolved_10x">
- <compile files="BackdoorMethods.java"/>
+ <compile options="-1.4" files="BackdoorMethods.java"/>
<run class="BackdoorMethods"/>
</ajc-test>
<ajc-test dir="new"
title="Putting after-constructor advice on the wrong types implementing the same interface."
keywords="from-resolved_10x">
- <compile files="AfterAdviceOnConstructorsOnTheWrongType.java"/>
+ <compile options="-1.4" files="AfterAdviceOnConstructorsOnTheWrongType.java"/>
<run class="AfterAdviceOnConstructorsOnTheWrongType"/>
</ajc-test>
<ajc-test dir="new"
title="Instantiating non-static inner classes in advice."
keywords="from-resolved_10x">
- <compile files="NonstaticInnerClassesInAspects.java"/>
+ <compile options="-1.4" files="NonstaticInnerClassesInAspects.java"/>
<run class="NonstaticInnerClassesInAspects"/>
</ajc-test>
<ajc-test dir="new" pr="316" title="Referring to pointcut in of clauses"
keywords="from-resolved_10x">
- <compile files="ReferringToPointcutsInAspect_PR316.java"/>
+ <compile options="-1.4" files="ReferringToPointcutsInAspect_PR316.java"/>
<run class="ReferringToPointcutsInAspect_PR316"/>
</ajc-test>
<ajc-test dir="new" pr="191"
title="Confused referring to instance variables and locals"
keywords="from-resolved_10x">
- <compile files="ScopesAndFields_PR191.java"/>
+ <compile options="-1.4" files="ScopesAndFields_PR191.java"/>
<run class="ScopesAndFields_PR191"/>
</ajc-test>
<ajc-test dir="new"
title="Parsing C+ expressions without parens in super introductions."
keywords="from-resolved_10x">
- <compile files="ParsingSubtypesIntroductions.java"/>
+ <compile options="-1.4" files="ParsingSubtypesIntroductions.java"/>
<run class="ParsingSubtypesIntroductions"/>
</ajc-test>
<ajc-test dir="new"
title="Introducing methods on classes that implements inner-interfaces with +implements."
keywords="from-resolved_10x">
- <compile files="IntroducingMethodsOnPlusImplementedInterfaces.java" options="-Xlint:ignore"/>
+ <compile files="IntroducingMethodsOnPlusImplementedInterfaces.java" options="-Xlint:ignore -1.4"/>
<run class="IntroducingMethodsOnPlusImplementedInterfaces"/>
</ajc-test>
<ajc-test dir="new" title="Making sure final variables stay final."
keywords="from-resolved_10x">
- <compile files="RemovingFinals.java"/>
+ <compile options="-1.4" files="RemovingFinals.java"/>
<run class="RemovingFinals"/>
</ajc-test>
<ajc-test dir="new"
title="Problem resolving meta-joinpoint names with around advice on methods called from around advice."
keywords="from-resolved_10x">
- <compile files="AroundAdviceOnMethodsCalledInAroundAdvice.java"/>
+ <compile options="-1.4" files="AroundAdviceOnMethodsCalledInAroundAdvice.java"/>
<run class="AroundAdviceOnMethodsCalledInAroundAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="Make sure that names of lifted local classes are right when referenced in call-site advice"
keywords="from-resolved_10x">
- <compile files="CallsAndLocalClasses.java"/>
+ <compile options="-1.4" files="CallsAndLocalClasses.java"/>
<run class="CallsAndLocalClasses"/>
</ajc-test>
<ajc-test dir="new" title="matching for throws clause"
keywords="from-resolved_10x">
- <compile files="ThrowsMatching.java"/>
+ <compile options="-1.4" files="ThrowsMatching.java"/>
<run class="ThrowsMatching"/>
</ajc-test>
<ajc-test dir="new" title="basic test of declare soft"
keywords="from-resolved_10x">
- <compile files="DeclareSoft.java"/>
+ <compile options="-1.4" files="DeclareSoft.java"/>
<run class="DeclareSoft"/>
</ajc-test>
<ajc-test dir="new"
title="advice on calls to constructors of anonymous inners and access to context"
keywords="from-resolved_10x">
- <compile files="NewAnonymous.java"/>
+ <compile options="-1.4" files="NewAnonymous.java"/>
<run class="NewAnonymous"/>
</ajc-test>
<ajc-test dir="new/innerAspectAccess" pr="211"
title="inner aspects can't access outer pointcuts"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new"
title="implements and extends are introduced before methods and fields"
keywords="from-resolved_10x">
- <compile files="IntroOrder.java"/>
+ <compile options="-1.4" files="IntroOrder.java"/>
<run class="IntroOrder"/>
</ajc-test>
<ajc-test dir="new"
title="a static/inner aspect of a inner class of an aspect is pulled to the top level as static"
keywords="from-resolved_10x">
- <compile files="StaticInnerAspect.java"/>
+ <compile options="-1.4" files="StaticInnerAspect.java"/>
<run class="StaticInnerAspect"/>
</ajc-test>
<ajc-test dir="new" title="Crashes with privileged aspect."
keywords="from-resolved_10x">
- <compile files="Privileged.java"/>
+ <compile options="-1.4" files="Privileged.java"/>
<run class="Privileged"/>
</ajc-test>
<ajc-test dir="new"
title="join points exist in the execution of field initializers"
keywords="from-resolved_10x">
- <compile files="FieldInitializerJoinPoints.java"/>
+ <compile options="-1.4" files="FieldInitializerJoinPoints.java"/>
<run class="FieldInitializerJoinPoints"/>
</ajc-test>
<ajc-test dir="new" title="advice on field gets in privileged aspects"
keywords="from-resolved_10x">
- <compile files="AdviceOnPrivileged.java"/>
+ <compile options="-1.4" files="AdviceOnPrivileged.java"/>
<run class="AdviceOnPrivileged"/>
</ajc-test>
<ajc-test dir="new" title="Two anonymous classes in the same scope"
keywords="from-resolved_10x">
- <compile files="TwoAnonymous.java"/>
+ <compile options="-1.4" files="TwoAnonymous.java"/>
<run class="TwoAnonymous"/>
</ajc-test>
<ajc-test dir="new"
title="basic tests for initializer and staticinitializer PCDs"
keywords="from-resolved_10x">
- <compile files="InitializerTest.java"/>
+ <compile options="-1.4" files="InitializerTest.java"/>
<run class="InitializerTest"/>
</ajc-test>
<ajc-test dir="new" pr="98"
title="introduction of an initializer into a class"
keywords="from-resolved_10x">
- <compile files="IntroductionOfInitializer.java"/>
+ <compile options="-1.4" files="IntroductionOfInitializer.java"/>
<run class="IntroductionOfInitializer"/>
</ajc-test>
<ajc-test dir="new/access"
title="some method accessibility tests, particularly package-protected and inheritance"
keywords="from-resolved_10x">
- <compile files="Test1.java,pc/C.java,psub/SubC.java,psub/A.java"/>
+ <compile options="-1.4" files="Test1.java,pc/C.java,psub/SubC.java,psub/A.java"/>
<run class="Test1"/>
</ajc-test>
<ajc-test dir="new"
title="fairly monotonous (and non-covering) tests for expanded dot patterns"
keywords="from-resolved_10x">
- <compile files="ExpandedDotDotPattern.java"/>
+ <compile options="-1.4" files="ExpandedDotDotPattern.java"/>
<run class="ExpandedDotDotPattern"/>
</ajc-test>
<ajc-test dir="new" title="field patterns and subtyping"
keywords="from-resolved_10x">
- <compile files="FieldPatterns.java"/>
+ <compile options="-1.4" files="FieldPatterns.java"/>
<run class="FieldPatterns"/>
</ajc-test>
<ajc-test dir="new"
title="Checking formal matching as in Roeder's bug in 0.7b10"
keywords="from-resolved_10x">
- <compile files="FormalMatching.java"/>
+ <compile options="-1.4" files="FormalMatching.java"/>
<run class="FormalMatching"/>
</ajc-test>
<ajc-test dir="new" title="Introducing synchronized methods on interfaces."
keywords="from-resolved_10x">
- <compile files="SynchronizedMethodsOnInterfaces.java"/>
+ <compile options="-1.4" files="SynchronizedMethodsOnInterfaces.java"/>
<run class="SynchronizedMethodsOnInterfaces"/>
</ajc-test>
<ajc-test dir="new"
title="The pointcut params (..,int..) is not recognizing (Object,int,Object)."
keywords="from-resolved_10x">
- <compile files="Params.java"/>
+ <compile options="-1.4" files="Params.java"/>
<run class="Params"/>
</ajc-test>
<ajc-test dir="new"
title="calls advice on array objects causes error in code generation"
keywords="from-resolved_10x">
- <compile files="CallsToArray.java"/>
+ <compile options="-1.4" files="CallsToArray.java"/>
<run class="CallsToArray"/>
</ajc-test>
<ajc-test dir="new"
title="join points in field initializers aren't showing up."
keywords="from-resolved_10x">
- <compile files="NonexistentFieldInitializers.java"/>
+ <compile options="-1.4" files="NonexistentFieldInitializers.java"/>
<run class="NonexistentFieldInitializers"/>
</ajc-test>
<ajc-test dir="new" pr="318" title="Handlers problem"
keywords="from-resolved_10x">
- <compile files="PR318.java" options="-Xlint:ignore"/>
+ <compile files="PR318.java" options="-Xlint:ignore -1.4"/>
<run class="PR318"/>
</ajc-test>
<ajc-test dir="new"
title="work nicely with inner class method look-up rules and call-site advice"
keywords="from-resolved_10x">
- <compile files="InnerMethods.java"/>
+ <compile options="-1.4" files="InnerMethods.java"/>
<run class="InnerMethods"/>
</ajc-test>
<ajc-test dir="new" title="strictfp modifier allowed on advice"
keywords="from-resolved_10x">
- <compile files="StrictFPAdvice.java"/>
+ <compile options="-1.4" files="StrictFPAdvice.java"/>
<run class="StrictFPAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="415"
title="No argthis was being created for calls advice."
keywords="from-resolved_10x">
- <compile files="PR415.java"/>
+ <compile options="-1.4" files="PR415.java"/>
<run class="PR415"/>
</ajc-test>
<ajc-test dir="new"
title="Ensuring no advice with instanceof(..) is run on static methods."
keywords="from-resolved_10x">
- <compile files="StaticMethodsShouldNotReceiveInstanceofAdvice.java"/>
+ <compile options="-1.4" files="StaticMethodsShouldNotReceiveInstanceofAdvice.java"/>
<run class="StaticMethodsShouldNotReceiveInstanceofAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="Null pointer on gets advice showing the case causing the error"
keywords="from-resolved_10x">
- <compile files="NullPointerOnGetsSimple.java"/>
+ <compile options="-1.4" files="NullPointerOnGetsSimple.java"/>
<run class="NullPointerOnGetsSimple"/>
</ajc-test>
<ajc-test dir="new"
title="try to make sure that dynamic JoinPoint objects aren't generated when used inside of if (false) { ... }"
keywords="from-resolved_10x">
- <compile files="IfdefsAndAdvice.java"/>
+ <compile options="-1.4" files="IfdefsAndAdvice.java"/>
<run class="IfdefsAndAdvice"/>
</ajc-test>
<ajc-test dir="new"
title="within and withincode (doesn't all work due to local class name issues)"
keywords="from-resolved_10x">
- <compile files="WithinInners.java"/>
+ <compile options="-1.4" files="WithinInners.java"/>
<run class="WithinInners"/>
</ajc-test>
<ajc-test dir="new" title="Arguments to runNext should be final when needed"
keywords="from-resolved_10x">
- <compile files="Finals.java"/>
+ <compile options="-1.4" files="Finals.java"/>
<run class="Finals"/>
</ajc-test>
<ajc-test dir="new" title="Method introductions"
keywords="from-resolved_10x">
- <compile files="MethodIntroductions.java"/>
+ <compile options="-1.4" files="MethodIntroductions.java"/>
<run class="MethodIntroductions"/>
</ajc-test>
<ajc-test dir="new" title="Putting an introduced method on each interface"
keywords="from-resolved_10x">
- <compile files="IntroducedMethodsOnEachInterface.java"/>
+ <compile options="-1.4" files="IntroducedMethodsOnEachInterface.java"/>
<run class="IntroducedMethodsOnEachInterface"/>
</ajc-test>
<ajc-test dir="new" title="Extending interfaces"
keywords="from-resolved_10x">
- <compile files="BindingInterfaces.java"/>
+ <compile options="-1.4" files="BindingInterfaces.java"/>
<run class="BindingInterfaces"/>
</ajc-test>
<ajc-test dir="new" title="Introducing private methods on interfaces"
keywords="from-resolved_10x">
- <compile files="IntroducingPrivateMethodsOnInterfaces.java"/>
+ <compile options="-1.4" files="IntroducingPrivateMethodsOnInterfaces.java"/>
<run class="IntroducingPrivateMethodsOnInterfaces"/>
</ajc-test>
<ajc-test dir="new"
title="Issuing errors for assigning variables thisJoinPoint -- not assigning thisJoinPoint."
keywords="from-resolved_10x">
- <compile files="ThisJoinPointAssignments.java"/>
+ <compile options="-1.4" files="ThisJoinPointAssignments.java"/>
<run class="ThisJoinPointAssignments"/>
</ajc-test>
<ajc-test dir="new"
title="Static references inside of introduced bodies get bound correctly."
keywords="from-resolved_10x">
- <compile files="StaticIntroducedReferences.java"/>
+ <compile options="-1.4" files="StaticIntroducedReferences.java"/>
<run class="StaticIntroducedReferences"/>
</ajc-test>
<ajc-test dir="new/cflowObjectCreations" pr="307"
title="cflow and object creations [of eachcflow]"
keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new/twofiles"
title="Doesn't import MightHaveAspect when compiling with more than 1 file. [eachobject]"
keywords="from-resolved_10x">
- <compile files="TheObject.java,TheAspect.java"/>
+ <compile options="-1.4" files="TheObject.java,TheAspect.java"/>
<run class="TheObject"/>
</ajc-test>
<ajc-test dir="new" pr="436"
title="test binding to formals in calls to constructors (binding to null) (eachobject !!! now misnamed)"
keywords="from-resolved_10x">
- <compile files="BindingThisInsteadOfFormal.java"/>
+ <compile options="-1.4" files="BindingThisInsteadOfFormal.java"/>
<run class="BindingThisInsteadOfFormal"/>
</ajc-test>
<ajc-test dir="new"
title="After advice isn't being woven into after throwing advice"
keywords="from-resolved_10x">
- <compile files="AfterThrowingNotWoven.java"/>
+ <compile options="-1.4" files="AfterThrowingNotWoven.java"/>
<run class="AfterThrowingNotWoven"/>
</ajc-test>
<ajc-test dir="new" title="Throwing an EmptyStackException."
keywords="from-resolved_10x">
- <compile files="EmptyStack.java"/>
+ <compile options="-1.4" files="EmptyStack.java"/>
<run class="EmptyStack"/>
</ajc-test>
<ajc-test dir="new/perThis"
title="check that MightHaveAspect interface is created correctly for an aspect in deep package"
keywords="from-resolved_10x">
- <compile files="p/EachObjectTarget.java,the/deep/pkg/EachObjectInDeepPackage.java"/>
+ <compile options="-1.4" files="p/EachObjectTarget.java,the/deep/pkg/EachObjectInDeepPackage.java"/>
<run class="p.EachObjectTarget"/>
</ajc-test>
<ajc-test dir="new" title="Defines clfow$ajc0 more once. [eachcflow]"
keywords="from-resolved_10x">
- <compile files="Binkley.java"/>
+ <compile options="-1.4" files="Binkley.java"/>
<run class="Binkley"/>
</ajc-test>
<ajc-test dir="new"
title="Various calls, receptions, and callsto tests [callsto]"
keywords="from-resolved_10x">
- <compile files="CallsReceptionsCallsto.java"/>
+ <compile options="-1.4" files="CallsReceptionsCallsto.java"/>
<run class="CallsReceptionsCallsto"/>
</ajc-test>
<ajc-test dir="new" pr="320"
title="Was throwing exception, now just an error. [eachobject]"
keywords="from-resolved_10x">
- <compile files="PR320.java"/>
+ <compile options="-1.4" files="PR320.java"/>
<run class="PR320"/>
</ajc-test>
<ajc-test dir="new"
title="different version of aspect inheritance, particularly empty pointcuts and abstract cflows [eachcflow]"
keywords="from-resolved_10x,fail-unimplemented">
- <compile files="AspectInheritance.java"/>
+ <compile options="-1.4" files="AspectInheritance.java"/>
<run class="AspectInheritance"/>
</ajc-test>
<ajc-test dir="new" pr="339"
title="set advice on member initing throwing exception [eachobject]"
keywords="from-resolved_10x">
- <compile files="PR339.java"/>
+ <compile options="-1.4" files="PR339.java"/>
<run class="PR339"/>
</ajc-test>
<ajc-test dir="new" pr="417"
title="Testing class names with same name's with difference case as package. [eachobject]"
keywords="from-resolved_10x">
- <compile files="test/TraceAspect.java,test/Test.java"/>
+ <compile options="-1.4" files="test/TraceAspect.java,test/Test.java"/>
<run class="test.Test"/>
</ajc-test>
<ajc-test dir="new"
title="Null pointer on gets advice with coverage [painful]"
keywords="from-resolved_10x">
- <compile files="NullPointerOnGets.java"/>
+ <compile options="-1.4" files="NullPointerOnGets.java"/>
<run class="NullPointerOnGets"/>
</ajc-test>
<ajc-test dir="new" title="Basic test for cflow pointcuts [eachcflow]"
keywords="from-resolved_10x">
- <compile files="CFlowPoints.java" options="-Xlint:ignore"/>
+ <compile files="CFlowPoints.java" options="-Xlint:ignore -1.4"/>
<run class="CFlowPoints"/>
</ajc-test>
<ajc-test dir="new"
title="Crashing when looking up the type of array members."
keywords="from-resolved_10x">
- <compile files="ArrayCasts.java"/>
+ <compile options="-1.4" files="ArrayCasts.java"/>
<run class="ArrayCasts"/>
</ajc-test>
<ajc-test dir="new"
title="PostfixExprs to various synthetic things are fixed correctly [eachobject]"
keywords="from-resolved_10x">
- <compile files="Fixes.java"/>
+ <compile options="-1.4" files="Fixes.java"/>
<run class="Fixes"/>
</ajc-test>
<ajc-test dir="new"
title="Dave Binkley's problem with eachcflowroot. [eachcflow]"
keywords="from-resolved_10x">
- <compile files="Binkley2.java"/>
+ <compile options="-1.4" files="Binkley2.java"/>
<run class="Binkley2"/>
</ajc-test>
<ajc-test dir="new" pr="105" title="advice on an inherited method"
keywords="from-resolved_10x">
- <compile files="AdviceOnInheritedMethod.java"/>
+ <compile options="-1.4" files="AdviceOnInheritedMethod.java"/>
<run class="AdviceOnInheritedMethod"/>
</ajc-test>
<ajc-test dir="new" pr="114"
title=", PR#115 checks the ordering of catch clauses"
keywords="from-resolved_10x">
- <compile files="OrderOfCatches.java" options="-Xlint:ignore"/>
+ <compile files="OrderOfCatches.java" options="-Xlint:ignore -1.4"/>
<run class="OrderOfCatches"/>
</ajc-test>
<ajc-test dir="new" title="various declared exception permutations"
keywords="from-resolved_10x">
- <compile files="DeclaredExcs.java"/>
+ <compile options="-1.4" files="DeclaredExcs.java"/>
<run class="DeclaredExcs"/>
</ajc-test>
<ajc-test dir="new"
title="ordering of advice kinds as well as cflow and dominates"
keywords="from-resolved_10x">
- <compile files="AdviceOrdering.java"/>
+ <compile options="-1.4" files="AdviceOrdering.java"/>
<run class="AdviceOrdering"/>
</ajc-test>
<ajc-test dir="new" pr="241"
title="advice on default constructor for a class only referenced via reflection"
keywords="from-resolved_10x">
- <compile files="OddConstructors.java"/>
+ <compile options="-1.4" files="OddConstructors.java"/>
<run class="OddConstructors"/>
</ajc-test>
<ajc-test dir="new" pr="289"
title="calling and called this params in calls points"
keywords="from-resolved_10x">
- <compile files="CallsParams.java"/>
+ <compile options="-1.4" files="CallsParams.java"/>
<run class="CallsParams"/>
</ajc-test>
<ajc-test dir="new" pr="322"
title="primitive parameters coercable to Object just like return values are"
keywords="from-resolved_10x">
- <compile files="ObjectForInt.java"/>
+ <compile options="-1.4" files="ObjectForInt.java"/>
<run class="ObjectForInt"/>
</ajc-test>
<ajc-test dir="new"
title="join points in static/dynamic initializers aren't showing up."
keywords="from-resolved_10x">
- <compile files="NonexistentInitializers.java"/>
+ <compile options="-1.4" files="NonexistentInitializers.java"/>
<run class="NonexistentInitializers"/>
</ajc-test>
<ajc-test dir="new"
title="Gets and sets on a number of variables (field access ???)"
keywords="from-resolved_10x">
- <compile files="Gets.java"/>
+ <compile options="-1.4" files="Gets.java"/>
<run class="Gets"/>
</ajc-test>
<ajc-test dir="new"
title="Joinpoints are showing up on intermediate call sites"
keywords="from-resolved_10x">
- <compile files="Counting1.java"/>
+ <compile options="-1.4" files="Counting1.java"/>
<run class="Counting1"/>
</ajc-test>
<ajc-test dir="new" title="Reception based on strictfp modifier"
keywords="from-resolved_10x">
- <compile files="StrictFpReceptions.java"/>
+ <compile options="-1.4" files="StrictFpReceptions.java"/>
<run class="StrictFpReceptions"/>
</ajc-test>
<ajc-test dir="new" pr="353"
title="Subclasses that do not redefine a method are not being handled correctly"
keywords="from-resolved_10x">
- <compile files="PR353b.java"/>
+ <compile options="-1.4" files="PR353b.java"/>
<run class="PR353b"/>
</ajc-test>
<ajc-test dir="new"
title="making sure that super calls are bound to the right methods"
keywords="from-resolved_10x">
- <compile files="SupersAndInterfaces.java"/>
+ <compile options="-1.4" files="SupersAndInterfaces.java"/>
<run class="SupersAndInterfaces"/>
</ajc-test>
<ajc-test dir="new" pr="317"
title="inheritance, around advice and abstract pointcuts [eachobject] (still)"
keywords="from-resolved_10x">
- <compile files="OverridingPointcuts.java"/>
+ <compile options="-1.4" files="OverridingPointcuts.java"/>
<run class="OverridingPointcuts"/>
</ajc-test>
<ajc-test dir="new/foemmel"
title="Priviledged aspect methods are missing for privates. [eachobject]"
keywords="from-resolved_10x">
- <compile files="TheAspect.java,TheObject.java">
+ <compile options="-1.4" files="TheAspect.java,TheObject.java">
</compile>
<run class="TheObject"/>
</ajc-test>
<ajc-test dir="new"
title="exceptions thrown and caught in advice, particularly try+proceed"
keywords="from-resolved_10x">
- <compile files="TryAndProceed.java" options="-Xlint:ignore"/>
+ <compile files="TryAndProceed.java" options="-Xlint:ignore -1.4"/>
<run class="TryAndProceed"/>
</ajc-test>
<ajc-test dir="new" title="Not and And operators in pointcuts not working"
keywords="from-resolved_10x">
- <compile files="NotAndPointcut.java"/>
+ <compile options="-1.4" files="NotAndPointcut.java"/>
<run class="NotAndPointcut"/>
</ajc-test>
<ajc-test dir="new"
title="Member initializers should run before the current class constructor"
keywords="from-resolved_10x">
- <compile files="MemberInitializationsAfterExplicitConstructorCalls.java"/>
+ <compile options="-1.4" files="MemberInitializationsAfterExplicitConstructorCalls.java"/>
<run class="MemberInitializationsAfterExplicitConstructorCalls"/>
</ajc-test>
<ajc-test dir="new"
title="thisJoinPoint{Static} not visible in if() pcd of named pointcut"
keywords="from-resolved_10x">
- <compile files="IfPCDExprJoinPointVisibleCE.java"/>
+ <compile options="-1.4" files="IfPCDExprJoinPointVisibleCE.java"/>
<run class="IfPCDExprJoinPointVisibleCE"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() expression visibility at compile-time (minimal operation)"
keywords="from-resolved_10x">
- <compile files="IfPCDExprVisibility.java" options="-Xlint:ignore"/>
+ <compile files="IfPCDExprVisibility.java" options="-Xlint:ignore -1.4"/>
<run class="IfPCDExprVisibility"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() NPE in compiler when unwinding assignment in pcd if(expr)"
keywords="from-resolved_10x">
- <compile files="IfPCDExprAssignUnparseFailure.java"/>
+ <compile options="-1.4" files="IfPCDExprAssignUnparseFailure.java"/>
<run class="IfPCDExprAssignUnparseFailure"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() dup methods produced when pointcut after advice etc (javac)"
keywords="from-resolved_10x">
- <compile files="IfPCDDupMethod.java"/>
+ <compile options="-1.4" files="IfPCDDupMethod.java"/>
<run class="IfPCDDupMethod"/>
</ajc-test>
<ajc-test dir="new"
title="pcd if() variants: [anonymous, named] x [execution, call, callTyped, get, set, initializations] x [before, after, around]"
keywords="from-resolved_10x">
- <compile files="IfPCDAdviceMethods.java"/>
+ <compile options="-1.4" files="IfPCDAdviceMethods.java"/>
<run class="IfPCDAdviceMethods"/>
</ajc-test>
<ajc-test dir="new" pr="476" title="initialization order with this"
keywords="from-resolved_10x">
- <compile files="InitializationOrder.java"/>
+ <compile options="-1.4" files="InitializationOrder.java"/>
<run class="InitializationOrder"/>
</ajc-test>
<ajc-test dir="new" pr="496"
title="!within and !this handling for callee-side call points"
keywords="from-resolved_10x">
- <compile files="NotThis.java"/>
+ <compile options="-1.4" files="NotThis.java"/>
<run class="NotThis"/>
</ajc-test>
<ajc-test dir="new/innerInterfaces" pr="494"
title="private inner interfaces and bytecode visibility"
keywords="from-resolved_10x">
- <compile files="p/Driver.java,p/InnerTest.java,other/Test.java"/>
+ <compile options="-1.4" files="p/Driver.java,p/InnerTest.java,other/Test.java"/>
<run class="p.Driver"/>
</ajc-test>
<ajc-test dir="new" pr="490"
title="elaborated into testing of around on all join points"
keywords="from-resolved_10x">
- <compile files="AroundAll.java"/>
+ <compile options="-1.4" files="AroundAll.java"/>
<run class="AroundAll"/>
</ajc-test>
<ajc-test dir="new"
title="type name hygiene when code comes from aspects in different packages"
keywords="from-resolved_10x">
- <compile
+ <compile options="-1.4"
files="typeNameConflicts/Driver.java,typeNameConflicts/p1/C.java,typeNameConflicts/aspects/A.java"/>
<run class="typeNameConflicts.Driver"/>
</ajc-test>
<ajc-test dir="new" title="cflowbelow dependencies (from Chris Dutchyn)"
keywords="from-resolved_10x">
- <compile files="CflowBelowTest.java"/>
+ <compile options="-1.4" files="CflowBelowTest.java"/>
<run class="CflowBelowTest"/>
</ajc-test>
<ajc-test dir="new" pr="493"
title="Compiler incorrectly flagging *1 (non-alphabetic start to signature pattern)"
keywords="from-resolved_10x">
- <compile files="NonAlphaSignaturePatternCE.java"/>
+ <compile options="-1.4" files="NonAlphaSignaturePatternCE.java"/>
<run class="NonAlphaSignaturePatternCE"/>
</ajc-test>
<ajc-test dir="new"
title="Unable to bind privately-introduced field name from introduced method in the same aspect"
keywords="from-resolved_10x">
- <compile files="IntroducedFieldsNotBinding.java"/>
+ <compile options="-1.4" files="IntroducedFieldsNotBinding.java"/>
<run class="IntroducedFieldsNotBinding"/>
</ajc-test>
<ajc-test dir="new/anonInnerClass" pr="297"
title="anonymous inner class with aspect" keywords="from-resolved_10x">
- <compile files="Driver.java"/>
+ <compile options="-1.4" files="Driver.java"/>
<run class="Driver"/>
</ajc-test>
<ajc-test dir="new" pr="335"
title="Arguments are not being passed in to calls advice"
keywords="from-resolved_10x">
- <compile files="PR335.java"/>
+ <compile options="-1.4" files="PR335.java"/>
<run class="PR335"/>
</ajc-test>
<ajc-test dir="design/intro" title="interfaces as mixins with introduction"
keywords="from-resolved_10x">
- <compile files="Interfaces.java">
+ <compile options="-1.4" files="Interfaces.java">
<message kind="error" text="can't override java.lang.String SubI.instanceField with java.lang.String SubC.instanceField visibility is reduced"/>
<message kind="error" text="can't override java.lang.String I.instanceField with java.lang.String C.instanceField visibility is reduced"/>
</compile>
<ajc-test dir="design/intro" title="interfaces as mixins with introduction b"
keywords="from-resolved_10x">
- <compile files="Interfaces.java" options="-Xset:itdVersion=1"/>
+ <compile files="Interfaces.java" options="-Xset:itdVersion=1 -1.4"/>
<run class="Interfaces"/>
</ajc-test>
<ajc-test dir="new"
title="functional modifiers work correctly with introduced members"
keywords="from-resolved_10x">
- <compile files="IntroducedModifiers.java"/>
+ <compile options="-1.4" files="IntroducedModifiers.java"/>
<run class="IntroducedModifiers"/>
</ajc-test>
<ajc-test dir="new"
title="ExceptionInInitializerError accessing cflow in aspect initialization - before variants"
keywords="from-resolved_10x">
- <compile files="CflowInitInAspectVariantsBefore.java"/>
+ <compile options="-1.4" files="CflowInitInAspectVariantsBefore.java"/>
<run class="CflowInitInAspectVariantsBefore"/>
</ajc-test>
<ajc-test dir="new"
title="NoClassDefFoundError accessing cflow in aspect initialization - after variants"
keywords="from-resolved_10x">
- <compile files="CflowInitInAspectVariantsAfter.java"/>
+ <compile options="-1.4" files="CflowInitInAspectVariantsAfter.java"/>
<run class="CflowInitInAspectVariantsAfter"/>
</ajc-test>
<ajc-test dir="new" title="InternalCompilerError in JpPlan when args alone"
keywords="from-resolved_10x">
- <compile files="ArgsAlone.java"/>
+ <compile options="-1.4" files="ArgsAlone.java"/>
<run class="ArgsAlone"/>
</ajc-test>
<ajc-test dir="new" pr="527"
title="compile error using pcd if() with advice on introduced methods."
keywords="from-resolved_10x">
- <compile files="PR527.java"/>
+ <compile options="-1.4" files="PR527.java"/>
<run class="PR527"/>
</ajc-test>
<ajc-test dir="new" pr="528"
title="compile errors boolean using cflow and unimplemented method using around advice on methods introduced by interface"
keywords="from-resolved_10x">
- <compile files="PR528.java"/>
+ <compile options="-1.4" files="PR528.java"/>
<run class="PR528"/>
</ajc-test>
<ajc-test dir="new" pr="534" title="aspect as member of interface"
keywords="from-resolved_10x">
- <compile files="AspectInInterfaceCP.java"/>
+ <compile options="-1.4" files="AspectInInterfaceCP.java"/>
<run class="AspectInInterfaceCP"/>
</ajc-test>
<ajc-test dir="new" pr="535"
title="missing method name to synthetic invocation"
keywords="from-resolved_10x,new-messages-vary">
- <compile files="PR535.java"/>
+ <compile options="-1.4" files="PR535.java"/>
<run class="PR535"/>
</ajc-test>
<ajc-test dir="new" pr="536"
title="protected subclass impl of superclass method with default access and variants"
keywords="from-resolved_10x">
- <compile files="RestrictingVisibilityCP.java"/>
+ <compile options="-1.4" files="RestrictingVisibilityCP.java"/>
<run class="RestrictingVisibilityCP"/>
</ajc-test>
<ajc-test dir="new" pr="519" title="Exception planning advice"
keywords="from-resolved_10x">
- <compile files="PR519.java" options="-Xlint:ignore"/>
+ <compile files="PR519.java" options="-Xlint:ignore -1.4"/>
<run class="PR519"/>
</ajc-test>
<ajc-test dir="new" pr="521"
title="unreproduced bug with advice - probably UTR"
keywords="from-resolved_10x">
- <compile files="PR520.java"/>
+ <compile options="-1.4" files="PR520.java"/>
<run class="PR520"/>
</ajc-test>
<ajc-test dir="new" pr="494"
title="introduced inner interfaces accessible inside aspect"
keywords="from-resolved_10x">
- <compile files="IntroduceInnerInterfaceCP.java"/>
+ <compile options="-1.4" files="IntroduceInnerInterfaceCP.java"/>
<run class="IntroduceInnerInterfaceCP"/>
</ajc-test>
<ajc-test dir="new" pr="525"
title="validate (enclosing) join point and source locations"
keywords="from-resolved_10x">
- <compile files="NegativeSourceLocation.java" options="-Xlint:ignore"/>
+ <compile files="NegativeSourceLocation.java" options="-Xlint:ignore -1.4"/>
<run class="NegativeSourceLocation"/>
</ajc-test>
<ajc-test dir="new" pr="544"
title="advice formals are just like method formals"
keywords="from-resolved_10x">
- <compile files="AdviceFormalsCp.java"/>
+ <compile options="-1.4" files="AdviceFormalsCp.java"/>
<run class="AdviceFormalsCp"/>
</ajc-test>
<ajc-test dir="new" pr="544"
title="advice formals produce errors just like method formals"
keywords="from-resolved_10x">
- <compile files="AdviceFormalsCf.java">
+ <compile options="-1.4" files="AdviceFormalsCf.java">
<message kind="error" line="28"/>
<message kind="error" line="29"/>
<message kind="error" line="36"/>
<ajc-test dir="new"
title="advice throws clauses must be compatible with joinpoints they apply to"
keywords="from-resolved_10x">
- <compile files="AdviceThrowsCp.java"/>
+ <compile options="-1.4" files="AdviceThrowsCp.java"/>
<run class="AdviceThrowsCp"/>
</ajc-test>
<ajc-test dir="new" pr="570"
title="potential method conflicts with introductions and interfaces and PR#561"
keywords="from-resolved_10x">
- <compile files="MethodConflictsCP.java"/>
+ <compile options="-1.4" files="MethodConflictsCP.java"/>
<run class="MethodConflictsCP"/>
</ajc-test>
<ajc-test dir="new" pr="570"
title="illegal method conflicts with introductions and interfaces and PR#561"
keywords="from-resolved_10x">
- <compile files="MethodConflictsCF.java">
+ <compile options="-1.4" files="MethodConflictsCF.java">
<message kind="error" line="8"/>
<message kind="error" line="20"/>
<message kind="error" line="28"/>
<ajc-test dir="new" title="AspectOf available for different aspect types"
keywords="from-resolved_10x">
- <compile files="AspectOf.java"/>
+ <compile options="-1.4" files="AspectOf.java"/>
<run class="AspectOf"/>
</ajc-test>
<ajc-test dir="new/privilegedAspects" pr="35593"
title="access to all members of class and inner class from privileged aspect"
keywords="from-resolved_10x">
- <compile
+ <compile options="-1.4"
files="driver/PrivilegedAspect.java,util/Util.java,pack/DefaultTarget.java,pack/PublicTarget.java"/>
<run class="driver.PrivilegedAspect"/>
</ajc-test>
<ajc-test dir="new"
title="cflow alone with around produces compiler bcg StackOverflowError"
keywords="from-resolved_10x">
- <compile files="CflowAlone.java"/>
+ <compile options="-1.4" files="CflowAlone.java"/>
<run class="CflowAlone"/>
</ajc-test>
<ajc-test dir="new"
title="get/set join points run for complex assignment operators (+=, etc.) (working)"
keywords="from-resolved_10x">
- <compile files="AssignOps.java"/>
+ <compile options="-1.4" files="AssignOps.java"/>
<run class="AssignOps"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="this available in introduced field initializers"
keywords="from-resolved_10x">
- <compile files="ThisInIntroFieldInit.java"/>
+ <compile options="-1.4" files="ThisInIntroFieldInit.java"/>
<run class="ThisInIntroFieldInit"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to cast expressions in introduced methods"
keywords="from-resolved_10x">
- <compile files="Cast.java,TargetClass.java,Util.java"/>
+ <compile options="-1.4" files="Cast.java,TargetClass.java,Util.java"/>
<run class="Cast"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to qualified new expressions in introduced methods"
keywords="from-resolved_10x">
- <compile files="Inner.java,TargetClass.java,Util.java"/>
+ <compile options="-1.4" files="Inner.java,TargetClass.java,Util.java"/>
<run class="Inner"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to cast expressions in introduced field initializers"
keywords="from-resolved_10x">
- <compile files="CastInFieldInit.java,TargetClass.java,Util.java"/>
+ <compile options="-1.4" files="CastInFieldInit.java,TargetClass.java,Util.java"/>
<run class="CastInFieldInit"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Aspect type unavailable to qualified new expressions in body of introduced methods"
keywords="from-resolved_10x">
- <compile files="AspectInIntroducedMethod.java"/>
+ <compile options="-1.4" files="AspectInIntroducedMethod.java"/>
<run class="AspectInIntroducedMethod"/>
</ajc-test>
<ajc-test dir="new/introTypeMissing"
title="Introduced type unavailable to qualified new expressions in introduced field initializers"
keywords="from-resolved_10x">
- <compile files="InnerInFieldInit.java,TargetClass.java,Util.java"/>
+ <compile options="-1.4" files="InnerInFieldInit.java,TargetClass.java,Util.java"/>
<run class="InnerInFieldInit"/>
</ajc-test>
<ajc-test dir="new" pr="595"
title="variable slots and finally/catch causing verify errors"
keywords="from-resolved_10final,from-resolved_10x">
- <compile files="AfterFinally.java"/>
+ <compile options="-1.4" files="AfterFinally.java"/>
<run class="AfterFinally"/>
</ajc-test>
<ajc-test dir="new" pr="590"
title="after advice on static method with pcd if() using result"
keywords="from-resolved_10x">
- <compile files="PR590.java">
+ <compile options="-1.4" files="PR590.java">
<message kind="error" line="20"/>
<message kind="error" line="23"/>
</compile>
<ajc-test dir="new" pr="590"
title="after advice on static method with pcd if() using result through pointcut"
keywords="from-resolved_10x">
- <compile files="PR590a.java" options="-Xlint:ignore">
+ <compile files="PR590a.java" options="-Xlint:ignore -1.4">
<message kind="error" line="29"/>
<message kind="error" line="31"/>
</compile>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 1)"
keywords="from-resolved_10x">
- <compile files="Main.java,My_error.java,A.java,B.java,C.java"/>
+ <compile options="-1.4" files="Main.java,My_error.java,A.java,B.java,C.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 2)"
keywords="from-resolved_10x">
- <compile files="Main.java,My_error.java,C.java,A.java,B.java"/>
+ <compile options="-1.4" files="Main.java,My_error.java,C.java,A.java,B.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 3)"
keywords="from-resolved_10x">
- <compile files="My_error.java,A.java,B.java,C.java,Main.java"/>
+ <compile options="-1.4" files="My_error.java,A.java,B.java,C.java,Main.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 4)"
keywords="from-resolved_10x">
- <compile files="A.java,B.java,C.java,Main.java,My_error.java"/>
+ <compile options="-1.4" files="A.java,B.java,C.java,Main.java,My_error.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new/PR600" pr="600"
title="AbstractMethodError for introduced methods (order 5)"
keywords="from-resolved_10x">
- <compile files="A.java,B.java,Main.java,C.java,My_error.java"/>
+ <compile options="-1.4" files="A.java,B.java,Main.java,C.java,My_error.java"/>
<run class="Main"/>
</ajc-test>
<ajc-test dir="new" title="declare error and abstract pointcuts"
keywords="from-resolved_10x">
- <compile files="AbstractDeclare.java">
+ <compile options="-1.4" files="AbstractDeclare.java">
<message kind="error" line="3"/>
<message kind="error" line="4"/>
</compile>
<ajc-test dir="new/runtime"
title="Exercise runtime classes (optionally in 1.1 VM)"
keywords="from-resolved_10x">
- <compile files="AllRuntime.java,TesterDriver.java"/>
+ <compile options="-1.4" files="AllRuntime.java,TesterDriver.java"/>
<run class="TesterDriver"/>
</ajc-test>
<ajc-test dir="new"
title="VerifyError after around advice falls off end of tryCatch"
keywords="from-resolved_10x">
- <compile files="TryOffEnd.java">
+ <compile options="-1.4" files="TryOffEnd.java">
<message kind="warning" line="13"/>
<message kind="warning" line="21"/>
</compile>
<ajc-test dir="new" pr="635" title="Named within pointcuts failing"
keywords="from-resolved_10x">
- <compile files="NamedWithinPointcuts.java"/>
+ <compile options="-1.4" files="NamedWithinPointcuts.java"/>
<run class="NamedWithinPointcuts"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="aspect with private abstract pointcut"
keywords="from-resolved_10x,fail-unimplemented">
- <compile files="PrivatePointcutCE.java">
+ <compile options="-1.4" files="PrivatePointcutCE.java">
<message kind="error" line="5"/>
</compile>
</ajc-test>
title="concrete aspect unable to access abstract package-private pointcut in parent for overriding"
keywords="from-resolved_10x"
comment="XXX getting error - confirm line numbers">
- <compile files="parent/ParentCE.java,child/ChildCE.java">
+ <compile options="-1.4" files="parent/ParentCE.java,child/ChildCE.java">
<message kind="error" file="child/ChildCE.java" line="32" text="pointcut 'parent.ParentCE.define()' is not visible"/>
<message kind="error" file="child/ChildCE.java" line="21"/>
<message kind="error" file="parent/ParentCE.java" line="10"/>
<ajc-test dir="new/subaspects" pr="647"
title="inner subaspects of an aspect with private pointcut"
keywords="from-resolved_10x">
- <compile files="parent/PrivatePointcut.java"/>
+ <compile options="-1.4" files="parent/PrivatePointcut.java"/>
<run class="parent.PrivatePointcut"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="outer subaspects of an aspect with private pointcut"
keywords="from-resolved_10x">
- <compile files="parent/PrivatePointcutOuterClass.java"/>
+ <compile options="-1.4" files="parent/PrivatePointcutOuterClass.java"/>
<run class="parent.PrivatePointcutOuterClass"/>
</ajc-test>
<ajc-test dir="new/subaspects" pr="647"
title="abstract aspect used statically should not cause instantiation of advice or pointcut"
keywords="from-resolved_10x">
- <compile files="AbstractAspectUsedStatically.java"/>
+ <compile options="-1.4" files="AbstractAspectUsedStatically.java"/>
<run class="AbstractAspectUsedStatically"/>
</ajc-test>
<ajc-test dir="new"
title="private inner interface accessible in scope when declared on outer class"
keywords="from-resolved_10x">
- <compile files="DeclareAccess.java"/>
+ <compile options="-1.4" files="DeclareAccess.java"/>
<run class="DeclareAccess"/>
</ajc-test>
<ajc-test dir="new"
title="accessing protected superclass members in and outside CCC from body of method introduction"
keywords="from-resolved_10x">
- <compile files="SuperInIntroduction.java"/>
+ <compile options="-1.4" files="SuperInIntroduction.java"/>
<run class="SuperInIntroduction"/>
</ajc-test>
<ajc-test dir="new"
title="accessing private superclass members from body of method introduction"
keywords="from-resolved_10x">
- <compile files="SuperInIntroductionCE.java">
+ <compile options="-1.4" files="SuperInIntroductionCE.java">
<message kind="error" line="25"/>
<message kind="error" line="26"/>
</compile>
<ajc-test dir="new" title="simple test for around and casting"
keywords="from-resolved_10x">
- <compile files="AroundCasting.java"/>
+ <compile options="-1.4" files="AroundCasting.java"/>
<run class="AroundCasting"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 1 - around advice inner Thread subclass running proceed but not writing field"
keywords="from-resolved_10x">
- <compile files="ThreadNoField.java,Common.java"/>
+ <compile options="-1.4" files="ThreadNoField.java,Common.java"/>
<run class="ThreadNoField"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 2 - around advice inner Runnable running proceed and writing method-final proxy"
keywords="from-resolved_10x">
- <compile files="Proxy.java,Common.java"/>
+ <compile options="-1.4" files="Proxy.java,Common.java"/>
<run class="Proxy"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 3 - around advice inner class running proceed and writing field"
keywords="from-resolved_10x">
- <compile files="Minimal.java,Common.java"/>
+ <compile options="-1.4" files="Minimal.java,Common.java"/>
<run class="Minimal"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 4 - around advice inner Thread subclass running proceed and writing field"
keywords="from-resolved_10x">
- <compile files="ThreadSub.java,Common.java"/>
+ <compile options="-1.4" files="ThreadSub.java,Common.java"/>
<run class="ThreadSub"/>
</ajc-test>
<ajc-test dir="new/aroundinner" pr="620"
title="aroundInner 5 - around advice inner Runnable (subinterface) running proceed and writing field introduced on subinterface"
keywords="from-resolved_10x">
- <compile files="RunnableSub.java,Common.java"/>
+ <compile options="-1.4" files="RunnableSub.java,Common.java"/>
<run class="RunnableSub"/>
</ajc-test>
<ajc-test dir="new" pr="636"
title="Named local class closing over proceed invocation"
keywords="from-resolved_10x">
- <compile files="LocalClassClosingOverProceed.java"/>
+ <compile options="-1.4" files="LocalClassClosingOverProceed.java"/>
<run class="LocalClassClosingOverProceed"/>
</ajc-test>
<ajc-test dir="new"
title="beautiful recursive computation of factorial with around is now supported"
keywords="from-resolved_10x">
- <compile files="CircularAdvice.java"/>
+ <compile options="-1.4" files="CircularAdvice.java"/>
<run class="CircularAdvice"/>
</ajc-test>
<ajc-test dir="new" pr="632"
title="multi-dispatch not used for named pcd references"
keywords="from-resolved_10x">
- <compile files="MultiDispatchCf.java">
+ <compile options="-1.4" files="MultiDispatchCf.java">
<message kind="error" line="54"/>
<message kind="error" line="57"/>
<message kind="error" line="60"/>
<ajc-test dir="new" pr="632"
title="multi-dispatch implemented through around + args"
keywords="from-resolved_10x">
- <compile files="MultiDispatchCp.java"/>
+ <compile options="-1.4" files="MultiDispatchCp.java"/>
<run class="MultiDispatchCp"/>
</ajc-test>
<ajc-test dir="new"
title="unrecognized aspect should not net Cloneable and Serializable warnings"
keywords="from-resolved_10x">
- <compile files="UnrecognizedAspectCE.java">
+ <compile options="-1.4" files="UnrecognizedAspectCE.java">
<message kind="error" line="3"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="unreachable code generated by around advice on the execution of void methods"
keywords="from-resolved_10x">
- <compile files="AroundVoid.java"/>
+ <compile options="-1.4" files="AroundVoid.java"/>
<run class="AroundVoid"/>
</ajc-test>
<ajc-test dir="new" pr="654"
title="Overriding method implementations using introduction on interfaces"
keywords="from-resolved_10x,fail-unimplemented">
- <compile files="IntroductionsOverriding.java" options="-Xlint:ignore" />
+ <compile files="IntroductionsOverriding.java" options="-Xlint:ignore -1.4" />
<run class="IntroductionsOverriding"/>
</ajc-test>
<ajc-test dir="new" pr="654"
title="more coverage for around and concrete methods on interfaces"
keywords="from-resolved_10x">
- <compile files="MultiAndAround.java" options="-Xlint:ignore"/>
+ <compile files="MultiAndAround.java" options="-Xlint:ignore -1.4"/>
<run class="MultiAndAround"/>
</ajc-test>
<ajc-test dir="new" title="invalid number and type of proceed arguments"
keywords="from-resolved_10x">
- <compile files="InvalidProceedArgsCE.java">
+ <compile options="-1.4" files="InvalidProceedArgsCE.java">
<message kind="error" line="10"/>
<message kind="error" line="15"/>
<message kind="error" line="17"/>
<ajc-test dir="new" pr="694" title="after returning advice order"
keywords="from-resolved_10x">
- <compile files="Cricket.java"/>
+ <compile options="-1.4" files="Cricket.java"/>
<run class="Cricket"/>
</ajc-test>
<ajc-test dir="new" pr="694" title="after returning advice param"
keywords="from-resolved_10x">
- <compile files="AfterReturningParam.java"/>
+ <compile options="-1.4" files="AfterReturningParam.java"/>
<run class="AfterReturningParam"/>
</ajc-test>
<ajc-test dir="new" pr="695"
title="! and declaring types with callee-side call join points"
keywords="from-resolved_10x">
- <compile files="NotAndDeclaringTypes.java" options="-Xlint:ignore"/>
+ <compile files="NotAndDeclaringTypes.java" options="-Xlint:ignore -1.4"/>
<run class="NotAndDeclaringTypes"/>
</ajc-test>
<ajc-test dir="new" pr="479"
title=". Binding the wrong arguments in withincode(..)."
keywords="from-resolved_10x">
- <compile files="BindingArgumentsInWithincode.java"/>
+ <compile options="-1.4" files="BindingArgumentsInWithincode.java"/>
<run class="BindingArgumentsInWithincode"/>
</ajc-test>
<ajc-test dir="new" pr="479"
title=". Matching arguments in cflow correctly."
keywords="from-resolved_10x">
- <compile files="MatchingArgumentsInCflow.java"/>
+ <compile options="-1.4" files="MatchingArgumentsInCflow.java"/>
<run class="MatchingArgumentsInCflow"/>
</ajc-test>
<ajc-test dir="new" pr="480"
title=". Binding variables with numbers in their name with pertarget(..)'s."
keywords="from-resolved_10x">
- <compile files="PerTargetAndVariablesWithNumbersInTheirNames.java"/>
+ <compile options="-1.4" files="PerTargetAndVariablesWithNumbersInTheirNames.java"/>
<run class="PerTargetAndVariablesWithNumbersInTheirNames"/>
</ajc-test>
<ajc-test dir="new" pr="554"
title="second arg in formal on shared joinpoint with pcd if() causes verify error ??"
keywords="from-resolved_10rc3">
- <compile files="PR554.java"/>
+ <compile options="-1.4" files="PR554.java"/>
<run class="PR554"/>
</ajc-test>
<ajc-test dir="new" pr="555"
title="inner classes of privileged aspects cannot see target class private members"
keywords="from-resolved_10rc3">
- <compile files="InnerClassInPrivilegedAspect.java"/>
+ <compile options="-1.4" files="InnerClassInPrivilegedAspect.java"/>
<run class="InnerClassInPrivilegedAspect"/>
</ajc-test>
<ajc-test dir="new/packageAccessPR556" pr="556"
title="aspects should get package access outside the file"
keywords="from-resolved_10rc3">
- <compile files="base1/p/C1.java,base2/p/C2.java" options="-Xlint:ignore"/>
+ <compile files="base1/p/C1.java,base2/p/C2.java" options="-Xlint:ignore -1.4"/>
<run class="p.C1"/>
</ajc-test>
<ajc-test dir="new" pr="559"
title="subclass advice not run for join points selected by superclass cflow-based pointcuts"
keywords="from-resolved_10rc3">
- <compile files="PR559.java"/>
+ <compile options="-1.4" files="PR559.java"/>
<run class="PR559"/>
</ajc-test>
<ajc-test dir="new" pr="559"
title="more issues with abstract aspects and cflow pointcuts"
keywords="from-resolved_10rc3,fail-unimplemented">
- <compile files="AbstractCflows.java"/>
+ <compile options="-1.4" files="AbstractCflows.java"/>
<run class="AbstractCflows"/>
</ajc-test>
<ajc-test dir="new" pr="560"
title="compile fails for aspect derived from percflow base aspect unless pointcut excludes base aspect and subaspects"
keywords="from-resolved_10rc3">
- <compile files="PR560.java"/>
+ <compile options="-1.4" files="PR560.java"/>
<run class="PR560"/>
</ajc-test>
<ajc-test dir="new" pr="573"
title="pertarget stack overflow getting name of anonymous (Interface) class"
keywords="from-resolved_10rc3">
- <compile files="PR573.java"/>
+ <compile options="-1.4" files="PR573.java"/>
<run class="PR573"/>
</ajc-test>
<ajc-test dir="new" pr="573"
title="pertarget stack overflow getting name of anonymous (Object) class"
keywords="from-resolved_10rc3">
- <compile files="PR573_1.java"/>
+ <compile options="-1.4" files="PR573_1.java"/>
<run class="PR573_1"/>
</ajc-test>
<ajc-test dir="new" pr="573"
title="pertarget runtime stack overflow (getting name of anonymous (Object) class?)"
keywords="from-resolved_10rc3">
- <compile files="PR573_2.java"/>
+ <compile options="-1.4" files="PR573_2.java"/>
<run class="PR573_2"/>
</ajc-test>
<ajc-test dir="new" pr="685"
title="subaspect method declaration on superaspect inner interface (names)"
keywords="from-resolved_104">
- <compile files="InnerInterfaceNames.java"/>
+ <compile options="-1.4" files="InnerInterfaceNames.java"/>
<run class="InnerInterfaceNames"/>
</ajc-test>
<ajc-test dir="new" pr="685"
title="subaspect method declaration on superaspect inner interface (access)"
keywords="from-resolved_104">
- <compile files="InnerInterfaceAccess.java"/>
+ <compile options="-1.4" files="InnerInterfaceAccess.java"/>
<run class="InnerInterfaceAccess"/>
</ajc-test>
<ajc-test dir="new" pr="685"
title="subaspect method declaration on superaspect inner interface (types)"
keywords="from-resolved_104">
- <compile files="InnerInterfaceTypes.java,InnerInterfaceTypesHelper.java"/>
+ <compile options="-1.4" files="InnerInterfaceTypes.java,InnerInterfaceTypesHelper.java"/>
<run class="InnerInterfaceTypes"/>
</ajc-test>
<ajc-test dir="new" pr="691" title="around AST type XXX"
keywords="from-resolved_104">
- <compile files="PR691.java"/>
+ <compile options="-1.4" files="PR691.java"/>
<run class="PR691"/>
</ajc-test>
<ajc-test dir="new" pr="687"
title="around all execution with double assignment in initializer (simple)"
keywords="from-resolved_104">
- <compile files="AroundDoubleAssignment.java"/>
+ <compile options="-1.4" files="AroundDoubleAssignment.java"/>
<run class="AroundDoubleAssignment"/>
</ajc-test>
<ajc-test dir="new" pr="687"
title="around all execution with double assignment in initializer (coverage)"
keywords="from-resolved_104">
- <compile files="AroundDoubleAssignmentC.java"/>
+ <compile options="-1.4" files="AroundDoubleAssignmentC.java"/>
<run class="AroundDoubleAssignmentC"/>
</ajc-test>
<ajc-test dir="new/PR569" pr="569"
title="anon class written to wrong directory"
keywords="from-resolved_104,from-resolved_104">
- <compile files="a/IntroAnon.java,a/MyInterface.java,b/Dest.java"/>
+ <compile options="-1.4" files="a/IntroAnon.java,a/MyInterface.java,b/Dest.java"/>
<run class="a.IntroAnon"/>
</ajc-test>
<ajc-test dir="new" pr="603"
title="unqualified transitive pointcut references not resolved"
keywords="from-resolved_104">
- <compile files="PointcutQualification.java"/>
+ <compile options="-1.4" files="PointcutQualification.java"/>
<run class="PointcutQualification"/>
</ajc-test>
<ajc-test dir="new" pr="603"
title="unqualified transitive pointcut references not resolved - 2"
keywords="from-resolved_104">
- <compile files="PointcutQualification2.java"/>
+ <compile options="-1.4" files="PointcutQualification2.java"/>
<run class="PointcutQualification2"/>
</ajc-test>
<ajc-test dir="new" pr="619"
title="direct use outside aspect of defined abstract pointcut"
keywords="from-resolved_104">
- <compile files="AbstractPointcutAccess.java"/>
+ <compile options="-1.4" files="AbstractPointcutAccess.java"/>
<run class="AbstractPointcutAccess"/>
</ajc-test>
<ajc-test dir="new" pr="619"
title="direct use outside aspect of undefined abstract pointcut"
keywords="from-resolved_104">
- <compile files="AbstractPointcutAccessCE.java">
+ <compile options="-1.4" files="AbstractPointcutAccessCE.java">
<message kind="error" line="9"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="619"
title="indirect use outside aspect of undefined abstract pointcut"
keywords="from-resolved_104">
- <compile files="AbstractPointcutIndirectCE.java">
+ <compile options="-1.4" files="AbstractPointcutIndirectCE.java">
<message kind="error" line="9"/>
<message kind="error" line="5"/>
</compile>
<ajc-test dir="new" pr="658"
title="simple call join point tests for JoinPoint SourceLocation context"
keywords="from-resolved_104">
- <compile files="SourceLocationCall.java"/>
+ <compile options="-1.4" files="SourceLocationCall.java"/>
<run class="SourceLocationCall"/>
</ajc-test>
<ajc-test dir="new" pr="661"
title="!target with second advice on casted call"
keywords="from-resolved_104">
- <compile files="CallNotTarget.java"/>
+ <compile options="-1.4" files="CallNotTarget.java"/>
<run class="CallNotTarget"/>
</ajc-test>
<ajc-test dir="new" pr="666" title="name binding in around cflow"
keywords="from-resolved_104">
- <compile files="AroundCall.java"/>
+ <compile options="-1.4" files="AroundCall.java"/>
<run class="AroundCall"/>
</ajc-test>
<ajc-test dir="new" pr="660" title="name binding in around cflow - 2"
keywords="from-resolved_104">
- <compile files="ArgsInCflow2.java"/>
+ <compile options="-1.4" files="ArgsInCflow2.java"/>
<run class="ArgsInCflow2"/>
</ajc-test>
<ajc-test dir="new" pr="677"
title="around name-binding in cflows using factorial"
keywords="from-resolved_104">
- <compile files="FactorialCflow.java"/>
+ <compile options="-1.4" files="FactorialCflow.java"/>
<run class="FactorialCflow"/>
</ajc-test>
<ajc-test dir="new" title="replacing this or target in around advice"
keywords="from-resolved_104">
- <compile files="TargetObjectReplacement.java"/>
+ <compile options="-1.4" files="TargetObjectReplacement.java"/>
<run class="TargetObjectReplacement"/>
</ajc-test>
<ajc-test dir="new"
title="after returning from initialization and after executing constructor"
keywords="from-resolved_104">
- <compile files="ConstructorExecInit.java"/>
+ <compile options="-1.4" files="ConstructorExecInit.java"/>
<run class="ConstructorExecInit"/>
</ajc-test>
<ajc-test dir="new"
title="after returning from initialization causes ExceptionInInitializer in aspect">
- <compile files="ConstructorExecInitFails.java"/>
+ <compile options="-1.4" files="ConstructorExecInitFails.java"/>
<run class="ConstructorExecInitFails"/>
</ajc-test>
<ajc-test dir="new" pr="659"
title="name binding in before cflow containing cflowbelow"
keywords="from-resolved_104">
- <compile files="ArgsInCflow.java" options="!eclipse">
+ <compile files="ArgsInCflow.java" options="!eclipse -1.4">
<message kind="error" line="29"/>
<message kind="error" line="32"/>
</compile>
<ajc-test dir="new/pr728" pr="728" title="file order in type searching"
keywords="from-resolved_105">
- <compile files="AnotherClass.java,Interface.java"/>
+ <compile options="-1.4" files="AnotherClass.java,Interface.java"/>
<run class="AnotherClass"/>
</ajc-test>
<ajc-test dir="new" title="simple declare warning (NPE)"
keywords="from-resolved_105">
- <compile files="DeclareWarningMain.java">
+ <compile options="-1.4" files="DeclareWarningMain.java">
<message kind="warning" line="4"/>
</compile>
<run class="DeclareWarningMain"/>
<ajc-test dir="new" pr="755"
title="ajc dies on cflow into field init anon class see knownbugs.txt"
keywords="from-resolved_105">
- <compile files="CflowOfFieldInitAnonMethods.java" options="!eclipse">
+ <compile files="CflowOfFieldInitAnonMethods.java" options="!eclipse -1.4">
</compile>
<run class="CflowOfFieldInitAnonMethods" options="!eclipse"/>
</ajc-test>
<ajc-test dir="new" pr="757" title="Incrementing interface-introduced field"
keywords="from-resolved_105">
- <compile files="IntroducedFieldInc.java"/>
+ <compile options="-1.4" files="IntroducedFieldInc.java"/>
<run class="IntroducedFieldInc"/>
</ajc-test>
<ajc-test dir="new"
title="The dynamic type, not the static one, should be used in if pcds"
keywords="from-resolved_105">
- <compile files="StaticTypeInIf.java"/>
+ <compile options="-1.4" files="StaticTypeInIf.java"/>
<run class="StaticTypeInIf"/>
</ajc-test>
<ajc-test dir="new"
title="bad interaction with after returning, around and void methods (from Rich Price)"
keywords="from-resolved_105">
- <compile files="AfterReturningResult.java"/>
+ <compile options="-1.4" files="AfterReturningResult.java"/>
<run class="AfterReturningResult"/>
</ajc-test>
<ajc-test dir="new"
title="type pattern matching for inner classes (from Ken Horn)"
keywords="from-resolved_105">
- <compile files="TypePat.java"/>
+ <compile options="-1.4" files="TypePat.java"/>
<run class="test.TypePat"/>
</ajc-test>
<ajc-test dir="new" pr="771" title="static initializer member name"
keywords="from-resolved_105">
- <compile files="StaticInitName.java"/>
+ <compile options="-1.4" files="StaticInitName.java"/>
<run class="StaticInitName"/>
</ajc-test>
<ajc-test dir="new" pr="770" title="cflow pcd syntax error"
keywords="from-resolved_105">
- <compile files="IllegalCflowCE.java">
+ <compile options="-1.4" files="IllegalCflowCE.java">
<message kind="error" line="4"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="764"
title="binding args with indeterminate prefix and suffix"
keywords="from-resolved_105">
- <compile files="IndeterminateArgs.java"/>
+ <compile options="-1.4" files="IndeterminateArgs.java"/>
<run class="IndeterminateArgs"/>
</ajc-test>
<ajc-test dir="new" pr="764"
title="check arg types with indeterminate prefix and suffix"
keywords="from-resolved_105">
- <compile files="IndeterminateArgType.java"/>
+ <compile options="-1.4" files="IndeterminateArgType.java"/>
<run class="IndeterminateArgType"/>
</ajc-test>
<ajc-test dir="new" pr="764"
title="testing and binding args with single indeterminate prefix and suffix"
keywords="from-resolved_105">
- <compile files="IndeterminateArg.java"/>
+ <compile options="-1.4" files="IndeterminateArg.java"/>
<run class="IndeterminateArg"/>
</ajc-test>
<ajc-test dir="new" pr="764"
title="binding handler args with indeterminate prefix and suffix"
keywords="from-resolved_105">
- <compile files="IndeterminateHandlerArg.java"/>
+ <compile options="-1.4" files="IndeterminateHandlerArg.java"/>
<run class="IndeterminateHandlerArg"/>
</ajc-test>
title="Compiling java.lang.Object with ajc yields non-verifying bytecode"
keywords="from-resolved_105"
comment="XXX weak/bad test">
- <compile files="java/lang/Object.java,java/lang/String.java">
+ <compile options="-1.4" files="java/lang/Object.java,java/lang/String.java">
</compile>
</ajc-test>
<ajc-test dir="new"
title="method-local class defined in around return statement"
keywords="from-resolved_105">
- <compile files="MethodLocalAroundReturns.java"/>
+ <compile options="-1.4" files="MethodLocalAroundReturns.java"/>
<run class="MethodLocalAroundReturns"/>
</ajc-test>
<ajc-test dir="new" title="CE expected for assignment to arg in if pcd"
keywords="from-resolved_105">
- <compile files="IfPCDAssignmentCE.java">
+ <compile options="-1.4" files="IfPCDAssignmentCE.java">
<message kind="error" line="16"/>
<message kind="error" line="20"/>
</compile>
<ajc-test dir="new" title="advising field get/sets when accessing via super"
keywords="from-resolved_105">
- <compile files="SuperField.java"/>
+ <compile options="-1.4" files="SuperField.java"/>
<run class="SuperField"/>
</ajc-test>
<ajc-test dir="new" title="accessing private members in outer types"
keywords="from-resolved_105">
- <compile files="FieldInnerAccess.java"/>
+ <compile options="-1.4" files="FieldInnerAccess.java"/>
<run class="FieldInnerAccess"/>
</ajc-test>
<ajc-test dir="new" pr="29934"
title="can't apply around advice to the execution of around advice"
keywords="from-resolved_10x">
- <compile files="CflowCycles.java"/>
+ <compile options="-1.4" files="CflowCycles.java"/>
<run class="CflowCycles"/>
</ajc-test>
<ajc-test dir="new"
title="incompatible advice throws clause are a compile-time error"
keywords="from-resolved_10x">
- <compile files="AdviceThrowsCf.java">
+ <compile options="-1.4" files="AdviceThrowsCf.java">
<message kind="error" line="13"/>
<message kind="error" line="28"/>
<message kind="error" line="47"/>
<!-- Load-time weaving tests -->
- <ajc-test dir="ltw"
- title="Ensure 1st aspect is rewoven when weaving 2nd aspect"
- keywords="reweavable">
- <compile
- files="Main.java, Aspect1.aj"
- outjar="main1.jar"
- options="-showWeaveInfo -verbose"
- >
- <message kind="weave" text="method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)"/>
- </compile>
- <compile
- classpath="main1.jar"
- files="Aspect2.aj"
- outjar="aspect2.jar"
- options="-showWeaveInfo -verbose"
- >
- </compile>
- <run class="Main" ltw="aop-ltwreweavable.xml">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="weaveinfo Join point 'method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)"/>
- <line text="weaveinfo Join point 'method-execution(void Main.test2())' in Type 'Main' (Main.java:21) advised by before advice from 'Aspect2' (Aspect2.aj:16)"/>
- <line text="Aspect1.before_test1"/>
- <line text="Aspect2.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Ensure valid aop.xml file is generated"
- keywords="-outxml">
- <compile
- files="Main.java"
- outjar="main.jar"
- >
- </compile>
- <compile
- classpath="main.jar"
- files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
- outxmlfile="META-INF/aop.xml"
- >
- </compile>
- <run class="Main" ltw="">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="Aspect1.before_test1"/>
- <line text="Aspect2.before_test2"/>
- <line text="pakkage.Aspect3.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Ensure valid aop.xml is generated for -outjar"
- keywords="-outxml">
- <compile
- files="Main.java"
- outjar="main.jar"
- >
- </compile>
- <compile
- classpath="main.jar"
- files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
- outjar="aspects.jar"
- options="-outxml"
- >
- </compile>
- <run class="Main" ltw="">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="Aspect1.before_test1"/>
- <line text="Aspect2.before_test2"/>
- <line text="pakkage.Aspect3.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Ensure no weaving without visible aop.xml"
- keywords="reweavable">
- <compile
- files="TestMain.java, Main.java"
- >
- </compile>
- <run class="TestMain" ltw="">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="info AspectJ Weaver Version"/>
- <line text="info register classloader org.aspectj.weaver.loadtime.WeavingURLClassLoader"/>
- <line text="info no configuration found. Disabling weaver for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader"/>
- </stderr>
- </run>
- </ajc-test>
-
- <!-- type discarding tests, investigating call munging -->
-
- <ajc-test dir="ltw/callMunging" title="discarding woven types - 1">
- <compile files="A.java,B.java,T.java,Main.java" outjar="classes.jar"/>
- <compile files="X.java" outjar="aspects.jar" classpath="classes.jar" options="-Xlint:ignore"/>
- <run class="Main" ltw="aop.xml">
- <stdout>
- <line text="into:main"/>
- <line text="A.method() running"/>
- <line text="advice running"/>
- <line text="T.m1() running"/>
- <line text="B.method() running"/>
- <line text="advice running"/>
- <line text="T.m2() running"/>
- <line text="leave:main"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw/callMunging/case1" title="aggressive ltw - decp">
- <compile files="A.java,T.java,Main.java" outjar="classes.jar"/>
- <compile files="X.java" outjar="aspects.jar" classpath="classes.jar" options="-Xlint:ignore"/>
- <run class="Main" ltw="aop.xml">
- <stdout>
- <line text="into:main"/>
- <line text="A.method() running"/>
- <line text="advice running"/>
- <line text="T.m1() running"/>
- <line text="leave:main"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw/callMunging/case1" title="aggressive ltw - decp - deactivate">
- <compile files="A.java,T.java,Main.java" outjar="classes.jar"/>
- <compile files="X.java" outjar="aspects.jar" classpath="classes.jar" options="-Xlint:ignore"/>
- <run class="Main" ltw="aop2.xml">
- <stdout>
- <line text="into:main"/>
- <line text="A.method() running"/>
- <line text="T.m1() running"/>
- <line text="leave:main"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw/callMunging/case1" title="aggressive ltw - hierarchy">
- <compile files="T.java,HierMain.java" outjar="classes.jar"/>
- <compile files="A.java" outjar="sub.hiddenjar" classpath="classes.jar"/>
- <compile files="X.java" outjar="aspects.jar" classpath="classes.jar" options="-Xlint:ignore"/>
- <run class="HierMain" ltw="aop.xml">
- <stdout>
- <line text="into:main"/>
- <line text="A.method() running"/>
- <line text="advice running"/>
- <line text="T.m1() running"/>
- <line text="leave:main"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw/callMunging/case3" title="aggressive ltw - decp - 2">
- <compile files="A.java,T.java,S.java,Main.java" outjar="classes.jar"/>
- <compile files="X.java" outjar="aspects.jar" classpath="classes.jar" options="-Xlint:ignore"/>
- <run class="Main" ltw="aop.xml">
- <stdout>
- <line text="into:main"/>
- <line text="A.method() running"/>
- <line text="advice running"/>
- <line text="T.m1() running"/>
- <line text="leave:main"/>
- </stdout>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw/callMunging/case2" title="aggressive ltw - deca">
- <compile files="A.java,T.java,Main.java,MarkerAnnotation.java" outjar="classes.jar" options="-1.5"/>
- <compile files="X.java" outjar="aspects.jar" classpath="classes.jar" options="-1.5 -Xlint:ignore"/>
- <run class="Main" ltw="aop.xml">
- <stdout>
- <line text="into:main"/>
- <line text="A.method() running"/>
- <line text="advice running"/>
- <line text="T.m1() running"/>
- <line text="leave:main"/>
- </stdout>
- </run>
- </ajc-test>
-
-
+<ajc-test dir="ltw"
+ title="Ensure 1st aspect is rewoven when weaving 2nd aspect"
+ keywords="reweavable">
+ <compile files="Main.java, Aspect1.aj" outjar="main1.jar"
+ options="-showWeaveInfo -verbose -1.4">
+ <message kind="weave"
+ text="method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)" />
+ </compile>
+ <compile classpath="main1.jar" files="Aspect2.aj"
+ outjar="aspect2.jar" options="-showWeaveInfo -verbose -1.4">
+ </compile>
+ <run class="Main" ltw="aop-ltwreweavable.xml">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line
+ text="weaveinfo Join point 'method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)" />
+ <line
+ text="weaveinfo Join point 'method-execution(void Main.test2())' in Type 'Main' (Main.java:21) advised by before advice from 'Aspect2' (Aspect2.aj:16)" />
+ <line text="Aspect1.before_test1" />
+ <line text="Aspect2.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
- <!-- end of discarding type tests -->
-
- <ajc-test dir="ltw"
- title="Define concrete sub-aspect using aop.xml"
- keywords="aop.xml">
- <compile
- files="Main.java"
- outjar="main.jar"
- >
- </compile>
-<!-- was in next section classpath="main1.jar" -->
- <compile
- files="AbstractSuperAspect.aj"
- outjar="aspect.jar"
- >
- </compile>
- <run class="Main" ltw="aop-defineaspect.xml">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="info AspectJ Weaver Version"/>
- <line text="info register classloader"/>
- <line text="info using"/>
- <line text="info define aspect ConcreteAspect"/>
- <line text="debug weaving 'ConcreteAspect'"/>
- <line text="debug generating class 'ConcreteAspect'"/>
- <line text="debug weaving 'Main'"/>
- <line text="AbstractSuperAspect.before_test1"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Use abstract aspect for ITD using aop.xml"
- keywords="abstract aspect, ITD">
- <compile
- files="TestITDMethod.java"
- >
- </compile>
- <compile
- files="AbstractAspect.aj"
- >
- <message kind="warning" text="this affected type is not exposed to the weaver: TestITDMethod"/>
- </compile>
- <run class="TestITDMethod" options="test" ltw="aop-abstractaspect.xml">
- <stdout>
- <line text="TestITDMethod.main"/>
- </stdout>
- <stderr>
- <line text="weaveinfo Type 'TestITDMethod' (TestITDMethod.java) has intertyped method from 'AbstractAspect' (AbstractAspect.aj:'void TestITDMethod.test()')"/>
- <line text="AbstractAspect_TestITDMethod.test"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Ensure a subset of inherited aspects is used for weaving"
- keywords="aspects, include">
- <compile
- files="Main.java"
- outjar="main.jar"
- >
- </compile>
- <compile
- classpath="main.jar"
- files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
- outjar="aspects.jar"
- options="-outxml"
- >
- </compile>
- <run class="Main" ltw="aop-aspectsinclude.xml">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="pakkage.Aspect3.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Ensure weaver lint warning issued when an aspect is not used for weaving"
- keywords="aspects, include, lint">
- <compile
- files="Main.java"
- outjar="main.jar"
- >
- </compile>
- <compile
- classpath="main.jar"
- files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
- outjar="aspects.jar"
- options="-outxml"
- >
- </compile>
- <run class="Main" ltw="aop-aspectsincludewithlintwarning.xml">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr ordered="no">
- <line text="warning aspect Aspect1 exluded for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader [Xlint:aspectExcludedByConfiguration]"/>
- <line text="warning aspect Aspect2 exluded for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader [Xlint:aspectExcludedByConfiguration]"/>
- <line text="pakkage.Aspect3.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Empty Xlint.properties file"
- keywords="xlint, ltw">
- <compile
- files="Main.java"
- >
- </compile>
- <run class="Main" ltw="aop-xlintfile.xml" xlintfile="Xlint-empty.properties">
- <stderr>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Set Xset properties enabled"
- keywords="xSet, ltw">
- <compile
- files="Main.java,Aspect1.aj"
- >
- </compile>
- <run class="Main" ltw="aop-xset-verbose.xml" xlintfile="Xlint-empty.properties">
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Set Xset properties disabled"
- keywords="xSet, ltw">
- <compile
- files="Main.java,Aspect1.aj"
- >
- </compile>
- <run class="Main" ltw="aop-xset-verbose.xml" xlintfile="Xlint-empty.properties">
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Warning with missing Xlint.properties file"
- keywords="xlint, ltw">
- <compile
- files="Main.java"
- >
- </compile>
- <run class="Main" ltw="aop-xlintfile.xml">
- <stderr>
- <line text="warning Cannot access resource for -Xlintfile:Xlint-empty.properties"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw/hier" title="separate compilation with ltw: declare parents and call" keywords="ltw">
- <compile files="util/A.aj,util/T.aj"/>
- <compile files="child/Executor.aj,child/Advisor.aj,top/SimpleMain.aj">
- <message kind="warning" text="this affected type is not exposed to the weaver: util.A"/>
- </compile>
- <run class="top.SimpleMain" ltw="aop-single.xml">
- <stdout>
- <line text="T call"/>
- </stdout>
- <stderr>
- <line text="weaveinfo Join point 'method-call(void util.A.foo())' in Type 'child.Executor' (Executor.aj:18) advised by before advice from 'child.Advisor' (Advisor.aj:20)"/>
- <line text="weaveinfo Extending interface set for type 'util.A' (A.aj) to include 'util.T' (Advisor.aj)"/>
- <line text="weaveinfo Extending interface set for type 'child.Advisor' (Advisor.aj) to include 'util.T' (Advisor.aj)"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Warning when advice doesn't match suppressed for LTW"
- keywords="xlint, ltw">
- <compile
- files="Main.java"
- >
- </compile>
- <compile
- files="Aspect3.aj"
- >
- </compile>
- <run class="Main" ltw="aop-nomatch.xml">
- <stderr>
- <line text="info AspectJ Weaver Version"/>
- <line text="info register classloader"/>
- <line text="info using"/>
- <line text="info register aspect Aspect3"/>
- <line text="debug weaving 'Main'"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Override suppressing of warning when advice doesn't match using -Xlintfile"
- keywords="xlint, ltw">
- <compile
- files="Main.java"
- >
- </compile>
- <compile
- files="Aspect3.aj"
- >
- </compile>
- <run class="Main" ltw="aop-nomatchxlintfile.xml" xlintfile="Xlint-nomatch.properties">
- <stderr>
- <line text="info AspectJ Weaver Version"/>
- <line text="info register classloader"/>
- <line text="info using"/>
- <line text="info register aspect Aspect3"/>
- <line text="can not build thisJoinPoint lazily for this advice"/>
- <line text="debug weaving 'Main'"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Warning when advice doesn't match using -Xlint:default"
- keywords="xlint, ltw">
- <compile
- files="Main.java"
- >
- </compile>
- <compile
- files="Aspect3.aj"
- >
- </compile>
- <run class="Main" ltw="aop-nomatchxlint.xml">
- <stderr>
- <line text="info AspectJ Weaver Version"/>
- <line text="info register classloader"/>
- <line text="info using"/>
- <line text="info register aspect Aspect3"/>
- <line text="can not build thisJoinPoint lazily for this advice"/>
- <line text="debug weaving 'Main'"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Override suppressing of warning when advice doesn't match using -Xlint:warning"
- keywords="xlint, ltw">
- <compile
- files="Main.java"
- >
- </compile>
- <compile
- files="Aspect3.aj"
- >
- </compile>
- <run class="Main" ltw="aop-nomatchxlint.xml">
- <stderr>
- <line text="info AspectJ Weaver Version"/>
- <line text="info register classloader"/>
- <line text="info using"/>
- <line text="info register aspect Aspect3"/>
- <line text="can not build thisJoinPoint lazily for this advice"/>
- <line text="debug weaving 'Main'"/>
- </stderr>
- </run>
- </ajc-test>
-
- <!-- based on "Ensure 1st aspect is rewoven when weaving 2nd aspect" -->
- <ajc-test dir="ltw"
- title="Nonstandard jar file extensions" pr="137235">
- <compile
- files="folder.jar/Main.java, folder.jar/Aspect1.aj"
- outjar="folder.jar/main1.zip"
- options="-showWeaveInfo"
- >
- <message kind="weave" text="method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)"/>
- </compile>
- <compile
- classpath="$sandbox/folder.jar/main1.zip"
- files="Aspect2.aj"
- outjar="aspect2Jar"
- options="-showWeaveInfo"
- >
- </compile>
- <run class="Main" ltw="aop-ltwreweavable.xml" classpath="$sandbox/folder.jar/main1.zip,$sandbox/aspect2Jar">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="weaveinfo Join point 'method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)"/>
- <line text="weaveinfo Join point 'method-execution(void Main.test2())' in Type 'Main' (Main.java:21) advised by before advice from 'Aspect2' (Aspect2.aj:16)"/>
- <line text="Aspect1.before_test1"/>
- <line text="Aspect2.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw"
- title="Odd zip on classpath" pr="137235">
- <compile
- files="folder.jar/Main.java, folder.jar/Aspect1.aj"
- outjar="folder.jar/main1.archive"
- options="-showWeaveInfo"
- >
- <message kind="weave" text="method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)"/>
- </compile>
- <compile
- classpath="$sandbox/folder.jar/main1.archive"
- files="Aspect2.aj"
- outjar="aspect2Jar"
- options="-showWeaveInfo"
- >
- </compile>
- <run class="Main" ltw="aop-ltwreweavable.xml" classpath="$sandbox/folder.jar/main1.archive,$sandbox/aspect2Jar">
- <stdout>
- <line text="Main.main"/>
- <line text="Main.test1"/>
- <line text="Main.test2"/>
- </stdout>
- <stderr>
- <line text="weaveinfo Join point 'method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)"/>
- <line text="weaveinfo Join point 'method-execution(void Main.test2())' in Type 'Main' (Main.java:21) advised by before advice from 'Aspect2' (Aspect2.aj:16)"/>
- <line text="Aspect1.before_test1"/>
- <line text="Aspect2.before_test2"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw" title="JDK14 LTW with XML" keywords="ltw">
- <compile files="HelloWorldWithException.java" options="-outjar hello.jar"/>
- <compile files="ExceptionHandler.aj" options="-outxml -outjar handler.jar"/>
- <ant file="ant.xml" target="JDK14 LTW with XML" verbose="true">
- <stdout>
- <line text="Hello World!"/>
- </stdout>
- <stderr>
- <line text="TraceFactory.instance="/>
- </stderr>
- </ant>
- </ajc-test>
-
- <ajc-test dir="ltw" title="JDK14 LTW with ASPECTPATH" keywords="ltw">
- <compile files="HelloWorldWithException.java" options="-outjar hello.jar"/>
- <compile files="ExceptionHandler.aj" options="-outjar handler.jar"/>
- <ant file="ant.xml" target="JDK14 LTW with ASPECTPATH" verbose="true">
- <stdout>
- <line text="Hello World!"/>
- </stdout>
- <stderr>
- <line text="TraceFactory.instance="/>
- </stderr>
- </ant>
- </ajc-test>
-
- <ajc-test dir="ltw" title="TestServer with HelloWorld" keywords="ltw,server">
- <compile files="HelloWorldWithException.java" options="-outjar hello.jar"/>
- <compile files="ExceptionHandler.aj" options="-outxml -outjar handler.jar"/>
- <ant file="ant-server.xml" target="TestServer with HelloWorld" verbose="true">
- <stdout>
- <line text="Starting ..."/>
- <line text="Running HelloWorld"/>
- <line text="Hello World!"/>
- <line text="Stopping ..."/>
- </stdout>
- </ant>
- </ajc-test>
-<!--
- <ajc-test dir="ltw" title="TestServer with Parent and Child" keywords="ltw,server">
- <compile files="Parent.java" options="-outjar parent.jar"/>
- <compile files="Child.java" options="-classpath parent.jar -outjar child.jar"/>
- <ant file="ant-server.xml" target="TestServer with Parent and Child" verbose="true">
- <stdout>
- <line text="Starting ..."/>
- <line text="Running Child"/>
- <line text="Parent"/>
- <line text="Child"/>
- <line text="Stopping ..."/>
- </stdout>
- </ant>
- </ajc-test>
--->
- <ajc-test dir="ltw" title="TestServer with Parent and Child" keywords="ltw,server">
- <compile files="HelloWorldWithException.java" options="-outjar child.jar"/>
- <compile files="ExceptionHandler.aj" options="-outxml -outjar parent.jar"/>
- <ant file="ant-server.xml" target="TestServer with Parent and Child" verbose="true">
- <stdout>
- <line text="Starting ..."/>
- <line text="Running HelloWorld"/>
- <line text="Hello World!"/>
- <line text="Stopping ..."/>
- </stdout>
- </ant>
- </ajc-test>
-
- <ajc-test dir="ltw" title="override default path using -Dorg.aspectj.weaver.loadtime.configuration" keywords="ltw">
- <compile files="HelloWorldWithException.java" options="-outjar hello.jar"/>
- <compile files="ExceptionHandler.aj" options="-outxml -outjar handler.jar"/>
- <compile files="Tracing.aj" options="-outxml -outjar tracing.jar"/>
- <ant file="ant.xml" target="override default path using -Dorg.aspectj.weaver.loadtime.configuration" verbose="true">
- <stdout>
- <line text="Hello World!"/>
- </stdout>
- </ant>
- </ajc-test>
-
- <ajc-test dir="ltw/inclExcl" title="Inclusion and patterns" keywords="ltw">
- <compile
- files="pkg/sub/Foo.aj, pkg/Main.aj"
- options="-outjar base.jar"
- />
- <compile
- files="tracing/Tracer.aj"
- />
- <run class="pkg.Main" ltw="aop-include.xml">
- <stderr>
- <line text="execution(void pkg.Main.foo())"/>
- <line text="Main.class"/>
- </stderr>
- </run>
- </ajc-test>
- <ajc-test dir="ltw/inclExcl" title="Exclusion and patterns" keywords="ltw">
- <compile
- files="pkg/sub/Foo.aj, pkg/Main.aj"
- options="-outjar base.jar"
- />
- <compile
- files="tracing/Tracer.aj"
- />
- <run class="pkg.Main" ltw="aop-exclude.xml">
- <stderr>
- <line text="execution(void pkg.sub.Foo.foo())"/>
- </stderr>
- </run>
- </ajc-test>
- <ajc-test dir="ltw/inclExcl" title="And patterns aspects" keywords="ltw">
- <compile
- files="pkg/sub/Foo.aj, pkg/Main.aj"
- options="-outjar base.jar"
- />
- <compile
- files="tracing/Tracer.aj, tracing/staticinit/Tracer.aj, tracing/staticinit/sub/Tracer.aj"
- />
- <run class="pkg.Main" ltw="aop-aspectinclexcl.xml">
- <stderr>
- <line text="staticinitialization(pkg.Main.<clinit>)"/>
- <line text="staticinitialization(pkg.sub.Foo.<clinit>)"/>
- </stderr>
- </run>
- </ajc-test>
-
- <ajc-test dir="ltw" title="simple LTW" keywords="ltw">
- <compile files="HelloWorldWithException.java"/>
- <compile files="ExceptionHandler.aj" options="-outxml"/>
- <ant file="ant.xml" target="simple LTW" verbose="true">
- <stdout>
- <line text="Hello World!"/>
- </stdout>
- </ant>
- </ajc-test>
-
- <ajc-test dir="ltw" title="dump on error" keywords="ltw">
- <compile files="HelloWorldWithException.java"/>
- <compile files="ExceptionHandler.aj" options="-outxml"/>
- <ant file="ant.xml" target="dump on error" verbose="true">
- <stdout>
- <line text="Hello World!"/>
- </stdout>
- </ant>
- </ajc-test>
-
- <ajc-test dir="bugs153/pr155033" title="multiple dump on error" keywords="ltw">
- <compile files="Annotation.java" options="-1.5"/>
- <compile files="MultipleDumpTest.java, Class1.java, Class2.java, Class3.java" options="-1.5"/>
- <compile files="Aspect.aj" options="-1.5 -outxml -Xlint:ignore"/>
-<!--
- <run class="MultipleDumpTest" ltw="aop-multipledumponerror.xml">
- <stdout>
- <line text="? AbortingMessageHandler.AbortingMessageHandler()"/>
- </stdout>
- </run>
--->
- <ant file="ant.xml" target="multiple dump on error" verbose="true">
- <stdout>
- <line text="? MultipleDumpTest.main()"/>
- <line text="? Class1.main()"/>
- <line text="? Aspect.before()"/>
- <line text="? Class2.main()"/>
- <line text="? Aspect.before()"/>
- <line text="? Class3.main()"/>
- <line text="? Aspect.before()"/>
- </stdout>
- </ant>
- </ajc-test>
+<ajc-test dir="ltw"
+ title="Ensure valid aop.xml file is generated" keywords="-outxml">
+ <compile files="Main.java" outjar="main.jar">
+ </compile>
+ <compile classpath="main.jar"
+ files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
+ outxmlfile="META-INF/aop.xml" options="-1.4">
+ </compile>
+ <run class="Main" ltw="">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line text="Aspect1.before_test1" />
+ <line text="Aspect2.before_test2" />
+ <line text="pakkage.Aspect3.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Ensure valid aop.xml is generated for -outjar"
+ keywords="-outxml">
+ <compile files="Main.java" outjar="main.jar">
+ </compile>
+ <compile classpath="main.jar"
+ files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
+ outjar="aspects.jar" options="-1.4 -outxml">
+ </compile>
+ <run class="Main" ltw="">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line text="Aspect1.before_test1" />
+ <line text="Aspect2.before_test2" />
+ <line text="pakkage.Aspect3.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Ensure no weaving without visible aop.xml" keywords="reweavable">
+ <compile files="TestMain.java, Main.java">
+ </compile>
+ <run class="TestMain" ltw="">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line text="info AspectJ Weaver Version" />
+ <line
+ text="info register classloader org.aspectj.weaver.loadtime.WeavingURLClassLoader" />
+ <line
+ text="info no configuration found. Disabling weaver for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<!-- type discarding tests, investigating call munging -->
+
+<ajc-test dir="ltw/callMunging"
+ title="discarding woven types - 1">
+ <compile files="A.java,B.java,T.java,Main.java"
+ outjar="classes.jar" />
+ <compile files="X.java" outjar="aspects.jar"
+ classpath="classes.jar" options="-Xlint:ignore" />
+ <run class="Main" ltw="aop.xml">
+ <stdout>
+ <line text="into:main" />
+ <line text="A.method() running" />
+ <line text="advice running" />
+ <line text="T.m1() running" />
+ <line text="B.method() running" />
+ <line text="advice running" />
+ <line text="T.m2() running" />
+ <line text="leave:main" />
+ </stdout>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/callMunging/case1"
+ title="aggressive ltw - decp">
+ <compile files="A.java,T.java,Main.java" outjar="classes.jar" />
+ <compile files="X.java" outjar="aspects.jar"
+ classpath="classes.jar" options="-Xlint:ignore" />
+ <run class="Main" ltw="aop.xml">
+ <stdout>
+ <line text="into:main" />
+ <line text="A.method() running" />
+ <line text="advice running" />
+ <line text="T.m1() running" />
+ <line text="leave:main" />
+ </stdout>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/callMunging/case1"
+ title="aggressive ltw - decp - deactivate">
+ <compile files="A.java,T.java,Main.java" outjar="classes.jar" />
+ <compile files="X.java" outjar="aspects.jar"
+ classpath="classes.jar" options="-Xlint:ignore" />
+ <run class="Main" ltw="aop2.xml">
+ <stdout>
+ <line text="into:main" />
+ <line text="A.method() running" />
+ <line text="T.m1() running" />
+ <line text="leave:main" />
+ </stdout>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/callMunging/case1"
+ title="aggressive ltw - hierarchy">
+ <compile files="T.java,HierMain.java" outjar="classes.jar" />
+ <compile files="A.java" outjar="sub.hiddenjar"
+ classpath="classes.jar" />
+ <compile files="X.java" outjar="aspects.jar"
+ classpath="classes.jar" options="-Xlint:ignore" />
+ <run class="HierMain" ltw="aop.xml">
+ <stdout>
+ <line text="into:main" />
+ <line text="A.method() running" />
+ <line text="advice running" />
+ <line text="T.m1() running" />
+ <line text="leave:main" />
+ </stdout>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/callMunging/case3"
+ title="aggressive ltw - decp - 2">
+ <compile files="A.java,T.java,S.java,Main.java"
+ outjar="classes.jar" />
+ <compile files="X.java" outjar="aspects.jar"
+ classpath="classes.jar" options="-Xlint:ignore" />
+ <run class="Main" ltw="aop.xml">
+ <stdout>
+ <line text="into:main" />
+ <line text="A.method() running" />
+ <line text="advice running" />
+ <line text="T.m1() running" />
+ <line text="leave:main" />
+ </stdout>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/callMunging/case2"
+ title="aggressive ltw - deca">
+ <compile files="A.java,T.java,Main.java,MarkerAnnotation.java"
+ outjar="classes.jar" options="-1.5" />
+ <compile files="X.java" outjar="aspects.jar"
+ classpath="classes.jar" options="-1.5 -Xlint:ignore" />
+ <run class="Main" ltw="aop.xml">
+ <stdout>
+ <line text="into:main" />
+ <line text="A.method() running" />
+ <line text="advice running" />
+ <line text="T.m1() running" />
+ <line text="leave:main" />
+ </stdout>
+ </run>
+</ajc-test>
+
+
+
+<!-- end of discarding type tests -->
+
+<ajc-test dir="ltw"
+ title="Define concrete sub-aspect using aop.xml" keywords="aop.xml">
+ <compile files="Main.java" outjar="main.jar">
+ </compile>
+ <!-- was in next section classpath="main1.jar" -->
+ <compile files="AbstractSuperAspect.aj" outjar="aspect.jar"
+ options="-1.4">
+ </compile>
+ <run class="Main" ltw="aop-defineaspect.xml">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line text="info AspectJ Weaver Version" />
+ <line text="info register classloader" />
+ <line text="info using" />
+ <line text="info define aspect ConcreteAspect" />
+ <line text="debug weaving 'ConcreteAspect'" />
+ <line text="debug generating class 'ConcreteAspect'" />
+ <line text="debug weaving 'Main'" />
+ <line text="AbstractSuperAspect.before_test1" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Use abstract aspect for ITD using aop.xml"
+ keywords="abstract aspect, ITD">
+ <compile files="TestITDMethod.java">
+ </compile>
+ <compile files="AbstractAspect.aj" options="-1.4">
+ <message kind="warning"
+ text="this affected type is not exposed to the weaver: TestITDMethod" />
+ </compile>
+ <run class="TestITDMethod" options="test"
+ ltw="aop-abstractaspect.xml">
+ <stdout>
+ <line text="TestITDMethod.main" />
+ </stdout>
+ <stderr>
+ <line
+ text="weaveinfo Type 'TestITDMethod' (TestITDMethod.java) has intertyped method from 'AbstractAspect' (AbstractAspect.aj:'void TestITDMethod.test()')" />
+ <line text="AbstractAspect_TestITDMethod.test" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Ensure a subset of inherited aspects is used for weaving"
+ keywords="aspects, include">
+ <compile files="Main.java" outjar="main.jar">
+ </compile>
+ <compile classpath="main.jar"
+ files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
+ outjar="aspects.jar" options="-outxml -1.4">
+ </compile>
+ <run class="Main" ltw="aop-aspectsinclude.xml">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line text="pakkage.Aspect3.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Ensure weaver lint warning issued when an aspect is not used for weaving"
+ keywords="aspects, include, lint">
+ <compile files="Main.java" outjar="main.jar">
+ </compile>
+ <compile classpath="main.jar"
+ files="Aspect1.aj, Aspect2.aj, pakkage/Aspect3.aj"
+ outjar="aspects.jar" options="-outxml -1.4">
+ </compile>
+ <run class="Main" ltw="aop-aspectsincludewithlintwarning.xml">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr ordered="no">
+ <line
+ text="warning aspect Aspect1 exluded for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader [Xlint:aspectExcludedByConfiguration]" />
+ <line
+ text="warning aspect Aspect2 exluded for class loader org.aspectj.weaver.loadtime.WeavingURLClassLoader [Xlint:aspectExcludedByConfiguration]" />
+ <line text="pakkage.Aspect3.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw" title="Empty Xlint.properties file"
+ keywords="xlint, ltw">
+ <compile files="Main.java">
+ </compile>
+ <run class="Main" ltw="aop-xlintfile.xml"
+ xlintfile="Xlint-empty.properties">
+ <stderr>
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw" title="Set Xset properties enabled"
+ keywords="xSet, ltw">
+ <compile files="Main.java,Aspect1.aj">
+ </compile>
+ <run class="Main" ltw="aop-xset-verbose.xml"
+ xlintfile="Xlint-empty.properties">
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw" title="Set Xset properties disabled"
+ keywords="xSet, ltw">
+ <compile files="Main.java,Aspect1.aj">
+ </compile>
+ <run class="Main" ltw="aop-xset-verbose.xml"
+ xlintfile="Xlint-empty.properties">
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Warning with missing Xlint.properties file"
+ keywords="xlint, ltw">
+ <compile files="Main.java">
+ </compile>
+ <run class="Main" ltw="aop-xlintfile.xml">
+ <stderr>
+ <line
+ text="warning Cannot access resource for -Xlintfile:Xlint-empty.properties" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/hier"
+ title="separate compilation with ltw: declare parents and call"
+ keywords="ltw">
+ <compile files="util/A.aj,util/T.aj" />
+ <compile
+ files="child/Executor.aj,child/Advisor.aj,top/SimpleMain.aj"
+ options="-1.4">
+ <message kind="warning"
+ text="this affected type is not exposed to the weaver: util.A" />
+ </compile>
+ <run class="top.SimpleMain" ltw="aop-single.xml">
+ <stdout>
+ <line text="T call" />
+ </stdout>
+ <stderr>
+ <line
+ text="weaveinfo Join point 'method-call(void util.A.foo())' in Type 'child.Executor' (Executor.aj:18) advised by before advice from 'child.Advisor' (Advisor.aj:20)" />
+ <line
+ text="weaveinfo Extending interface set for type 'util.A' (A.aj) to include 'util.T' (Advisor.aj)" />
+ <line
+ text="weaveinfo Extending interface set for type 'child.Advisor' (Advisor.aj) to include 'util.T' (Advisor.aj)" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Warning when advice doesn't match suppressed for LTW"
+ keywords="xlint, ltw">
+ <compile files="Main.java">
+ </compile>
+ <compile files="Aspect3.aj" options="-1.4">
+ </compile>
+ <run class="Main" ltw="aop-nomatch.xml">
+ <stderr>
+ <line text="info AspectJ Weaver Version" />
+ <line text="info register classloader" />
+ <line text="info using" />
+ <line text="info register aspect Aspect3" />
+ <line text="debug weaving 'Main'" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Override suppressing of warning when advice doesn't match using -Xlintfile"
+ keywords="xlint, ltw">
+ <compile files="Main.java">
+ </compile>
+ <compile files="Aspect3.aj" options="-1.4">
+ </compile>
+ <run class="Main" ltw="aop-nomatchxlintfile.xml"
+ xlintfile="Xlint-nomatch.properties">
+ <stderr>
+ <line text="info AspectJ Weaver Version" />
+ <line text="info register classloader" />
+ <line text="info using" />
+ <line text="info register aspect Aspect3" />
+ <line text="can not build thisJoinPoint lazily for this advice" />
+ <line text="debug weaving 'Main'" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Warning when advice doesn't match using -Xlint:default"
+ keywords="xlint, ltw">
+ <compile files="Main.java">
+ </compile>
+ <compile files="Aspect3.aj" options="-1.4">
+ </compile>
+ <run class="Main" ltw="aop-nomatchxlint.xml">
+ <stderr>
+ <line text="info AspectJ Weaver Version" />
+ <line text="info register classloader" />
+ <line text="info using" />
+ <line text="info register aspect Aspect3" />
+ <line text="can not build thisJoinPoint lazily for this advice" />
+ <line text="debug weaving 'Main'" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="Override suppressing of warning when advice doesn't match using -Xlint:warning"
+ keywords="xlint, ltw">
+ <compile files="Main.java">
+ </compile>
+ <compile files="Aspect3.aj" options="-1.4">
+ </compile>
+ <run class="Main" ltw="aop-nomatchxlint.xml">
+ <stderr>
+ <line text="info AspectJ Weaver Version" />
+ <line text="info register classloader" />
+ <line text="info using" />
+ <line text="info register aspect Aspect3" />
+ <line text="can not build thisJoinPoint lazily for this advice" />
+ <line text="debug weaving 'Main'" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<!-- based on "Ensure 1st aspect is rewoven when weaving 2nd aspect" -->
+<ajc-test dir="ltw" title="Nonstandard jar file extensions"
+ pr="137235">
+ <compile files="folder.jar/Main.java, folder.jar/Aspect1.aj"
+ outjar="folder.jar/main1.zip" options="-showWeaveInfo -1.4">
+ <message kind="weave"
+ text="method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)" />
+ </compile>
+ <compile classpath="$sandbox/folder.jar/main1.zip"
+ files="Aspect2.aj" outjar="aspect2Jar" options="-showWeaveInfo -1.4">
+ </compile>
+ <run class="Main" ltw="aop-ltwreweavable.xml"
+ classpath="$sandbox/folder.jar/main1.zip,$sandbox/aspect2Jar">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line
+ text="weaveinfo Join point 'method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)" />
+ <line
+ text="weaveinfo Join point 'method-execution(void Main.test2())' in Type 'Main' (Main.java:21) advised by before advice from 'Aspect2' (Aspect2.aj:16)" />
+ <line text="Aspect1.before_test1" />
+ <line text="Aspect2.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw" title="Odd zip on classpath" pr="137235">
+ <compile files="folder.jar/Main.java, folder.jar/Aspect1.aj"
+ outjar="folder.jar/main1.archive" options="-showWeaveInfo">
+ <message kind="weave"
+ text="method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)" />
+ </compile>
+ <compile classpath="$sandbox/folder.jar/main1.archive"
+ files="Aspect2.aj" outjar="aspect2Jar" options="-showWeaveInfo -1.4">
+ </compile>
+ <run class="Main" ltw="aop-ltwreweavable.xml"
+ classpath="$sandbox/folder.jar/main1.archive,$sandbox/aspect2Jar">
+ <stdout>
+ <line text="Main.main" />
+ <line text="Main.test1" />
+ <line text="Main.test2" />
+ </stdout>
+ <stderr>
+ <line
+ text="weaveinfo Join point 'method-execution(void Main.test1())' in Type 'Main' (Main.java:17) advised by before advice from 'Aspect1' (Aspect1.aj:16)" />
+ <line
+ text="weaveinfo Join point 'method-execution(void Main.test2())' in Type 'Main' (Main.java:21) advised by before advice from 'Aspect2' (Aspect2.aj:16)" />
+ <line text="Aspect1.before_test1" />
+ <line text="Aspect2.before_test2" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw" title="JDK14 LTW with XML" keywords="ltw">
+ <compile files="HelloWorldWithException.java"
+ options="-outjar hello.jar" />
+ <compile files="ExceptionHandler.aj"
+ options="-outxml -outjar handler.jar -1.4" />
+ <ant file="ant.xml" target="JDK14 LTW with XML" verbose="true">
+ <stdout>
+ <line text="Hello World!" />
+ </stdout>
+ <stderr>
+ <line text="TraceFactory.instance=" />
+ </stderr>
+ </ant>
+</ajc-test>
+
+<ajc-test dir="ltw" title="JDK14 LTW with ASPECTPATH"
+ keywords="ltw">
+ <compile files="HelloWorldWithException.java"
+ options="-outjar hello.jar" />
+ <compile files="ExceptionHandler.aj"
+ options="-outjar handler.jar" />
+ <ant file="ant.xml" target="JDK14 LTW with ASPECTPATH"
+ verbose="true">
+ <stdout>
+ <line text="Hello World!" />
+ </stdout>
+ <stderr>
+ <line text="TraceFactory.instance=" />
+ </stderr>
+ </ant>
+</ajc-test>
+
+<ajc-test dir="ltw" title="TestServer with HelloWorld"
+ keywords="ltw,server">
+ <compile files="HelloWorldWithException.java"
+ options="-outjar hello.jar" />
+ <compile files="ExceptionHandler.aj"
+ options="-outxml -outjar handler.jar -1.4" />
+ <ant file="ant-server.xml" target="TestServer with HelloWorld"
+ verbose="true">
+ <stdout>
+ <line text="Starting ..." />
+ <line text="Running HelloWorld" />
+ <line text="Hello World!" />
+ <line text="Stopping ..." />
+ </stdout>
+ </ant>
+</ajc-test>
+<!-- <ajc-test dir="ltw" title="TestServer with Parent and Child" keywords="ltw,server">
+ <compile files="Parent.java" options="-outjar parent.jar"/> <compile files="Child.java"
+ options="-classpath parent.jar -outjar child.jar"/> <ant file="ant-server.xml"
+ target="TestServer with Parent and Child" verbose="true"> <stdout> <line
+ text="Starting ..."/> <line text="Running Child"/> <line text="Parent"/>
+ <line text="Child"/> <line text="Stopping ..."/> </stdout> </ant> </ajc-test> -->
+<ajc-test dir="ltw" title="TestServer with Parent and Child"
+ keywords="ltw,server">
+ <compile files="HelloWorldWithException.java"
+ options="-outjar child.jar" />
+ <compile files="ExceptionHandler.aj"
+ options="-outxml -outjar parent.jar -1.4" />
+ <ant file="ant-server.xml"
+ target="TestServer with Parent and Child" verbose="true">
+ <stdout>
+ <line text="Starting ..." />
+ <line text="Running HelloWorld" />
+ <line text="Hello World!" />
+ <line text="Stopping ..." />
+ </stdout>
+ </ant>
+</ajc-test>
+
+<ajc-test dir="ltw"
+ title="override default path using -Dorg.aspectj.weaver.loadtime.configuration"
+ keywords="ltw">
+ <compile files="HelloWorldWithException.java"
+ options="-outjar hello.jar" />
+ <compile files="ExceptionHandler.aj"
+ options="-outxml -outjar handler.jar -1.4" />
+ <compile files="Tracing.aj"
+ options="-outxml -outjar tracing.jar -1.4" />
+ <ant file="ant.xml"
+ target="override default path using -Dorg.aspectj.weaver.loadtime.configuration"
+ verbose="true">
+ <stdout>
+ <line text="Hello World!" />
+ </stdout>
+ </ant>
+</ajc-test>
+
+<ajc-test dir="ltw/inclExcl" title="Inclusion and patterns"
+ keywords="ltw">
+ <compile files="pkg/sub/Foo.aj, pkg/Main.aj"
+ options="-outjar base.jar" />
+ <compile files="tracing/Tracer.aj" options="-1.4" />
+ <run class="pkg.Main" ltw="aop-include.xml">
+ <stderr>
+ <line text="execution(void pkg.Main.foo())" />
+ <line text="Main.class" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw/inclExcl" title="Exclusion and patterns"
+ keywords="ltw">
+ <compile files="pkg/sub/Foo.aj, pkg/Main.aj"
+ options="-outjar base.jar" />
+ <compile files="tracing/Tracer.aj" options="-1.4" />
+ <run class="pkg.Main" ltw="aop-exclude.xml">
+ <stderr>
+ <line text="execution(void pkg.sub.Foo.foo())" />
+ </stderr>
+ </run>
+</ajc-test>
+<ajc-test dir="ltw/inclExcl" title="And patterns aspects"
+ keywords="ltw">
+ <compile files="pkg/sub/Foo.aj, pkg/Main.aj"
+ options="-outjar base.jar" />
+ <compile
+ files="tracing/Tracer.aj, tracing/staticinit/Tracer.aj, tracing/staticinit/sub/Tracer.aj"
+ options="-1.4" />
+ <run class="pkg.Main" ltw="aop-aspectinclexcl.xml">
+ <stderr>
+ <line text="staticinitialization(pkg.Main.<clinit>)" />
+ <line text="staticinitialization(pkg.sub.Foo.<clinit>)" />
+ </stderr>
+ </run>
+</ajc-test>
+
+<ajc-test dir="ltw" title="simple LTW" keywords="ltw">
+ <compile files="HelloWorldWithException.java" />
+ <compile files="ExceptionHandler.aj" options="-outxml -1.4" />
+ <ant file="ant.xml" target="simple LTW" verbose="true">
+ <stdout>
+ <line text="Hello World!" />
+ </stdout>
+ </ant>
+</ajc-test>
+
+<ajc-test dir="ltw" title="dump on error" keywords="ltw">
+ <compile files="HelloWorldWithException.java" />
+ <compile files="ExceptionHandler.aj" options="-outxml -1.4" />
+ <ant file="ant.xml" target="dump on error" verbose="true">
+ <stdout>
+ <line text="Hello World!" />
+ </stdout>
+ </ant>
+</ajc-test>
+
+<ajc-test dir="bugs153/pr155033" title="multiple dump on error"
+ keywords="ltw">
+ <compile files="Annotation.java" options="-1.5" />
+ <compile
+ files="MultipleDumpTest.java, Class1.java, Class2.java, Class3.java"
+ options="-1.5" />
+ <compile files="Aspect.aj" options="-1.5 -outxml -Xlint:ignore" />
+ <!-- <run class="MultipleDumpTest" ltw="aop-multipledumponerror.xml"> <stdout>
+ <line text="? AbortingMessageHandler.AbortingMessageHandler()"/> </stdout>
+ </run> -->
+ <ant file="ant.xml" target="multiple dump on error" verbose="true">
+ <stdout>
+ <line text="? MultipleDumpTest.main()" />
+ <line text="? Class1.main()" />
+ <line text="? Aspect.before()" />
+ <line text="? Class2.main()" />
+ <line text="? Aspect.before()" />
+ <line text="? Class3.main()" />
+ <line text="? Aspect.before()" />
+ </stdout>
+ </ant>
+</ajc-test>
\ No newline at end of file