diff options
Diffstat (limited to 'tests')
14 files changed, 368 insertions, 314 deletions
diff --git a/tests/ajcTestSuite.dtd b/tests/ajcTestSuite.dtd index fbfcd011a..6d6712fb9 100644 --- a/tests/ajcTestSuite.dtd +++ b/tests/ajcTestSuite.dtd @@ -1,71 +1,119 @@ -<!-- this defines a DOCTYPE for a suite of ajc tests -->
-<!-- element-component mappings are in org.aspectj.testing.xml.AjcSpecXmlReader -->
-<!-- element names are determined by the component XMLNAME static variable -->
-
- <!ELEMENT suite (ajc-test*)>
- <!ATTLIST suite suiteDir CDATA #IMPLIED >
- <!-- permits leading inc-compile, will fail -->
- <!ELEMENT ajc-test ((compile | inc-compile | run)*)>
- <!ATTLIST ajc-test title CDATA #REQUIRED >
- <!ATTLIST ajc-test dir CDATA #REQUIRED >
- <!ATTLIST ajc-test pr CDATA #IMPLIED >
- <!ATTLIST ajc-test keywords CDATA #IMPLIED >
- <!ATTLIST ajc-test comment CDATA #IMPLIED >
-
- <!ELEMENT compile (dir-changes*,message*)>
- <!ATTLIST compile staging CDATA #IMPLIED >
- <!ATTLIST compile badInput CDATA #IMPLIED >
- <!ATTLIST compile files CDATA #IMPLIED >
- <!ATTLIST compile reuseCompiler CDATA #IMPLIED >
- <!ATTLIST compile includeClassesDir CDATA #IMPLIED >
- <!ATTLIST compile argfiles CDATA #IMPLIED >
- <!ATTLIST compile aspectpath CDATA #IMPLIED >
- <!ATTLIST compile classpath CDATA #IMPLIED >
- <!ATTLIST compile extdirs CDATA #IMPLIED >
- <!ATTLIST compile options CDATA #IMPLIED >
- <!ATTLIST compile sourceroots CDATA #IMPLIED >
- <!ATTLIST compile xlintfile CDATA #IMPLIED >
- <!ATTLIST compile outjar CDATA #IMPLIED >
-
- <!ELEMENT inc-compile (dir-changes*,message*)>
- <!ATTLIST inc-compile tag CDATA #REQUIRED >
- <!ATTLIST inc-compile fresh CDATA #IMPLIED >
- <!ATTLIST inc-compile checkModel CDATA #IMPLIED >
-
- <!ELEMENT run (dir-changes*,message*)>
- <!ATTLIST run class CDATA #REQUIRED >
- <!ATTLIST run skipTester CDATA #IMPLIED >
- <!ATTLIST run vm CDATA #IMPLIED >
- <!ATTLIST run options CDATA #IMPLIED >
- <!ATTLIST run errStreamIsError CDATA #IMPLIED >
- <!ATTLIST run outStreamIsError CDATA #IMPLIED >
- <!ATTLIST run fork CDATA #IMPLIED >
- <!ATTLIST run vmargs CDATA #IMPLIED >
- <!ATTLIST run aspectpath CDATA #IMPLIED >
- <!ATTLIST run classpath CDATA #IMPLIED >
- <!ATTLIST run LTW CDATA #IMPLIED >
- <!ATTLIST run usefullltw CDATA #IMPLIED >
- <!ATTLIST run exception CDATA #IMPLIED >
-
- <!ELEMENT message (source*)>
- <!ATTLIST message kind (abort | fail | error | warning | info | Xlint) #REQUIRED >
- <!ATTLIST message line CDATA #IMPLIED >
- <!ATTLIST message text CDATA #IMPLIED >
- <!ATTLIST message file CDATA #IMPLIED >
- <!ATTLIST message details CDATA #IMPLIED >
-
- <!ELEMENT source (#PCDATA)>
- <!ATTLIST source line CDATA #IMPLIED >
- <!ATTLIST source file CDATA #IMPLIED >
-
- <!ELEMENT dir-changes (#PCDATA)>
- <!ATTLIST dir-changes dirToken (classes | run) #IMPLIED >
- <!ATTLIST dir-changes defaultSuffix (.class) #IMPLIED >
- <!ATTLIST dir-changes added CDATA #IMPLIED >
- <!ATTLIST dir-changes removed CDATA #IMPLIED >
- <!ATTLIST dir-changes updated CDATA #IMPLIED >
- <!ATTLIST dir-changes unchanged CDATA #IMPLIED >
- <!ATTLIST dir-changes expDir CDATA #IMPLIED >
- <!ATTLIST dir-changes fastFail CDATA #IMPLIED >
- <!ATTLIST dir-changes delay CDATA #IMPLIED >
-
+<!-- this defines a DOCTYPE for a suite of ajc tests --> +<!-- element-component mappings are in org.aspectj.testing.xml.AjcSpecXmlReader --> +<!-- element names are determined by the component XMLNAME static variable --> + + <!ELEMENT suite (ajc-test | comment)*> + <!ATTLIST suite suiteDir CDATA #IMPLIED > + + <!-- permits leading inc-compile, will fail --> + <!ELEMENT ajc-test ((compile | inc-compile | run | weave | file | ant | comment)*)> + <!ATTLIST ajc-test title CDATA #REQUIRED > + <!ATTLIST ajc-test dir CDATA #REQUIRED > + <!ATTLIST ajc-test pr CDATA #IMPLIED > + <!ATTLIST ajc-test keywords CDATA #IMPLIED > + <!ATTLIST ajc-test comment CDATA #IMPLIED > + <!ATTLIST ajc-test vm CDATA #IMPLIED > + + <!ELEMENT compile (dir-changes*,message*)> + <!ATTLIST compile comment CDATA #IMPLIED > + <!ATTLIST compile staging CDATA #IMPLIED > + <!ATTLIST compile badInput CDATA #IMPLIED > + <!ATTLIST compile files CDATA #IMPLIED > + <!ATTLIST compile reuseCompiler CDATA #IMPLIED > + <!ATTLIST compile includeClassesDir CDATA #IMPLIED > + <!ATTLIST compile argfiles CDATA #IMPLIED > + <!ATTLIST compile aspectpath CDATA #IMPLIED > + <!ATTLIST compile aspectsFiles CDATA #IMPLIED > + <!ATTLIST compile classpath CDATA #IMPLIED > + <!ATTLIST compile modulepath CDATA #IMPLIED > + <!ATTLIST compile inpath CDATA #IMPLIED > + <!ATTLIST compile extdirs CDATA #IMPLIED > + <!ATTLIST compile options CDATA #IMPLIED > + <!ATTLIST compile sourceroots CDATA #IMPLIED > + <!ATTLIST compile xlintfile CDATA #IMPLIED > + <!ATTLIST compile outjar CDATA #IMPLIED > + <!ATTLIST compile outxmlfile CDATA #IMPLIED > + + <!ELEMENT inc-compile (dir-changes*,message*)> + <!ATTLIST inc-compile tag CDATA #REQUIRED > + <!ATTLIST inc-compile fresh CDATA #IMPLIED > + <!ATTLIST inc-compile checkModel CDATA #IMPLIED > + + <!ELEMENT run (dir-changes*,message*,stdout*,stderr*)> + <!-- Either class or modulepath is required --> + <!ATTLIST run class CDATA #IMPLIED > + <!ATTLIST run modulepath CDATA #IMPLIED > + <!ATTLIST run module CDATA #IMPLIED > + <!ATTLIST run skipTester CDATA #IMPLIED > + <!ATTLIST run vm CDATA #IMPLIED > + <!ATTLIST run options CDATA #IMPLIED > + <!ATTLIST run errStreamIsError CDATA #IMPLIED > + <!ATTLIST run outStreamIsError CDATA #IMPLIED > + <!ATTLIST run fork CDATA #IMPLIED > + <!ATTLIST run vmargs CDATA #IMPLIED > + <!ATTLIST run aspectpath CDATA #IMPLIED > + <!ATTLIST run classpath CDATA #IMPLIED > + <!ATTLIST run ltw CDATA #IMPLIED > + <!ATTLIST run usefullltw CDATA #IMPLIED > + <!ATTLIST run exception CDATA #IMPLIED > + <!ATTLIST run xlintfile CDATA #IMPLIED > + + <!ELEMENT message (source*)> + <!ATTLIST message kind (abort | fail | error | warning | info | Xlint | weave) #IMPLIED > + <!ATTLIST message line CDATA #IMPLIED > + <!ATTLIST message text CDATA #IMPLIED > + <!ATTLIST message file CDATA #IMPLIED > + <!ATTLIST message details CDATA #IMPLIED > + + <!ELEMENT source (#PCDATA)> + <!ATTLIST source line CDATA #IMPLIED > + <!ATTLIST source file CDATA #IMPLIED > + + <!ELEMENT dir-changes (#PCDATA)> + <!ATTLIST dir-changes dirToken (classes | run) #IMPLIED > + <!ATTLIST dir-changes defaultSuffix (.class) #IMPLIED > + <!ATTLIST dir-changes added CDATA #IMPLIED > + <!ATTLIST dir-changes removed CDATA #IMPLIED > + <!ATTLIST dir-changes updated CDATA #IMPLIED > + <!ATTLIST dir-changes unchanged CDATA #IMPLIED > + <!ATTLIST dir-changes expDir CDATA #IMPLIED > + <!ATTLIST dir-changes fastFail CDATA #IMPLIED > + <!ATTLIST dir-changes delay CDATA #IMPLIED > + + <!ATTLIST dir-changes dirToken (classes | run) #IMPLIED > + <!ATTLIST dir-changes defaultSuffix (.class) #IMPLIED > + <!ATTLIST dir-changes added CDATA #IMPLIED > + <!ATTLIST dir-changes removed CDATA #IMPLIED > + <!ATTLIST dir-changes updated CDATA #IMPLIED > + <!ATTLIST dir-changes unchanged CDATA #IMPLIED > + <!ATTLIST dir-changes expDir CDATA #IMPLIED > + <!ATTLIST dir-changes fastFail CDATA #IMPLIED > + <!ATTLIST dir-changes delay CDATA #IMPLIED > + + <!ELEMENT stdout (line*)> + <!ATTLIST stdout ordered CDATA #IMPLIED > + + <!ELEMENT stderr (line*)> + <!ATTLIST stderr ordered CDATA #IMPLIED > + + <!ELEMENT line (line*)> + <!ATTLIST line text CDATA #REQUIRED > + <!ATTLIST line vm CDATA #IMPLIED > + + <!ELEMENT weave (message*)> + <!ATTLIST weave classesFiles CDATA #REQUIRED > + <!ATTLIST weave aspectsFiles CDATA #REQUIRED > + <!ATTLIST weave options CDATA #REQUIRED > + <!ATTLIST weave xlintfile CDATA #IMPLIED > + + <!ELEMENT file EMPTY> + <!ATTLIST file deletefile CDATA #IMPLIED > + <!ATTLIST file renamefrom CDATA #IMPLIED > + <!ATTLIST file renameto CDATA #IMPLIED > + + <!ELEMENT ant (stdout*,stderr*)> + <!ATTLIST ant file CDATA #IMPLIED > + <!ATTLIST ant target CDATA #IMPLIED > + <!ATTLIST ant verbose CDATA #IMPLIED > + + <!ELEMENT comment (#PCDATA)> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc121/ajc121.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc121/ajc121.xml index ff2e46106..812c80f0c 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc121/ajc121.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc121/ajc121.xml @@ -10,7 +10,7 @@ <message kind="error" line="4" file="DisjunctVarBinding_3.java" text="ambiguous binding of parameter(s) a, b across '||' in pointcut"/> </compile> </ajc-test> - + <ajc-test dir="bugs/IfPerThis" pr="62458" title="An if() pointcut inside a perthis() clauses an ABORT - null pointer exception in ajc"> <compile files="Testcase1.java"> @@ -20,40 +20,40 @@ <message kind="error" line="27" text="if() pointcut designator cannot be used directly in a per clause"/> </compile> </ajc-test> - + <ajc-test dir="bugs/IfPerThis" pr="62458" title="An if() pointcut inside a perthis() clauses an ABORT - null pointer exception in ajc"> <compile files="Testcase2.java"/> <run class="Testcase2"/> </ajc-test> - + <ajc-test dir="bugs/IfPerThis" pr="62458" title="An if() pointcut inside a perthis() clauses an ABORT - null pointer exception in ajc"> <compile files="Testcase3.java"> <message kind="error" line="2" text="if() pointcut designator cannot be used directly in a per clause"/> </compile> </ajc-test> - + <ajc-test dir="bugs/bug70619" pr="70619" title="compiler aborts with 'conflicting dominates orders' with circular declare precedences"> <compile files="Precedence.java"> <message kind="error" line="0" text="conflicting declare precedence"/> </compile> - <compile files="Conflict.java,Order2.aj,Order1.aj"> + <compile files="Conflict.java,Order2.aj,Order1.aj"> <message kind="error" line="0" text="conflicting declare precedence"/> </compile> <compile files="Conflict.java,Order1.aj,Order2.aj"> <message kind="error" line="0" text="conflicting declare precedence"/> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="53999" title="'can't bind type' message has $ for . in type name for declare soft"> <compile files="Cosmetic.java"> <message kind="error" line="9" text="can't bind type name 'unknown.Error'"/> </compile> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs/intertypeOverrides" pr="69459" title="Hiding of Instance Methods by static methods"> <compile files="IntertypeOverrides.java"> @@ -63,7 +63,7 @@ <message kind="error" line="8" text="void Sub.m() cannot override void Super.m(); overridden method is static"/> </compile> <compile files="Superclass.java,Subclass.java,Aspect1.java"> - <message file="Aspect1.java" kind="error" line="2" + <message file="Aspect1.java" kind="error" line="2" text="void Subclass.staticMethod() cannot override void Superclass.staticMethod(); overridden method is static"/> </compile> <compile files="Superclass.java,Subclass.java,Aspect2.java"> @@ -71,31 +71,31 @@ text="void Subclass.nonstaticMethod() cannot override void Superclass.nonstaticMethod(); overriding method is static"/> </compile> </ajc-test> - + <ajc-test dir="new" title="if(false) optimisation" pr="48990"> <compile files="IfFalse.aj" options="-1.4"/> <run class="IfFalse"/> </ajc-test> - + <ajc-test dir="new" title="if(true) optimisation" pr="48990"> <compile files="IfTrue.aj" options="-1.4"/> <run class="IfTrue"/> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs/abstractITDs" pr="64331" title="java.lang.NullPointerException in WeaverMessageHandler class"> <compile files="A.java,C.java" aspectpath="B.jar"> <message kind="error" line="1" text="must implement abstract inter-type declaration: void A.foo()"/> </compile> </ajc-test> - + <ajc-test dir="bugs/pr64262" title="ClassCastException at BcelRenderer.java:169" pr="64262"> <compile files="PrimitiveCoercionInExactTypePatternMatching.java"/> </ajc-test> - + <ajc-test dir="bugs" pr="61536" title="Front-end bug, shouldn't allow patterns of the form foo.., should be foo..*"> <compile files="EllipsesStar.java"> @@ -108,7 +108,7 @@ <message kind="error" line="12" text="Syntax error on token"/> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="67774" title="Nullpointer-Exception when defining a withincode() pointcut"> <compile files="WithincodeNPE01.java"> @@ -117,37 +117,37 @@ <message kind="warning" line="11" text="In String ctor"/> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="60015" title="NPE, Incorrect XLint:unmatchedSuperTypeInCall warning"> <compile files="IncorrectXlintOnInterface.java"> </compile> </ajc-test> - + <ajc-test dir="bugs/typeVisibilityProblem" pr="67591" title="invalid warning indicating no match when a match really occurs"> <compile files="Main.java"> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="71273" title="RuntimeException thrown: Could not find instruction: org.apache.bcel.generic.B2I"> <compile files="NoByteToInt.java"/> <run class="NoByteToInt"/> </ajc-test> - + <ajc-test dir="bugs/AroundAdviceJPs" pr="71377" title="Cannot advise private method call in around advice"> <compile files="JoinPointInAroundAdvice.java"/> <run class="JoinPointInAroundAdvice"/> </ajc-test> - + <ajc-test dir="bugs/AroundAdviceJPs" pr="71377" title="Cannot advise private field sets in around advice"> <compile files="FieldJoinPointsInAroundAdvice.java"/> <run class="FieldJoinPointsInAroundAdvice"/> </ajc-test> - + <ajc-test dir="bugs/AroundAdviceJPs" pr="71377" title="Cannot advise private field gets in around advice"> <compile files="FieldGetJoinPointsInAroundAdvice.java"/> @@ -163,8 +163,8 @@ </ajc-test> --> -<!-- these next two tests commented out as they take minutes to run - reinstate if you need to - investigate 59208 for any reason +<!-- these next two tests commented out as they take minutes to run - reinstate if you need to + investigate 59208 for any reason <ajc-test dir="bugs/pr59208" pr="59208" title="Weaver fails in BCEL for large classes"> <compile files="Foo.java, A.aj"> @@ -175,7 +175,7 @@ <ajc-test dir="bugs/pr59208" pr="59208" title="Weaver fails in BCEL for large classes (binary)"> - <compile + <compile aspectpath="test.jar" inpath="classes"> <message kind="error" line="0" text="constant pool too big"></message> @@ -204,7 +204,7 @@ <ajc-test dir="bugs" pr="61572" title="ITDs on inner classes should be static context"> <compile files="PR61572.aj"> - <message kind="error" line="19" text="Cannot make a static reference to the non-static field zzz"></message> + <message kind="error" line="19" text="Cannot make a static reference to the non-static field zzz"/> </compile> </ajc-test> @@ -218,17 +218,17 @@ <message kind="error" line="29" text="ambiguous binding of parameter(s) x across '||' in pointcut"/> </compile> </ajc-test> - + <!-- should NOT raise error, despite Oxford expectations to the contrary --> <ajc-test dir="bugs/oxford" pr="62475" title="resolution of IT field inits"> <compile files="PR62475.java"> </compile> </ajc-test> - - <ajc-test - dir="bugs/invalidAbsoluteTypeName" + + <ajc-test + dir="bugs/invalidAbsoluteTypeName" pr="65925" title="Valid but inaccessible type names should not be flagged by XLint:invalidAbsoluteTypeName"> <compile files="False_InvalidAbsoluteTypeName.java"> @@ -236,19 +236,19 @@ </compile> <run class="False_InvalidAbsoluteTypeName"/> </ajc-test> - + <ajc-test dir="bugs/PR68991" pr="68991" title="intertype initialisers should match field set pointcuts"> <compile files="Simple.java"/> <run class="Simple"/> </ajc-test> - + <ajc-test dir="bugs/PR68991" pr="68991" title="intertype initialisers should match field set pointcuts (oxford testcase)"> <compile files="Oxford.java"/> <run class="Oxford"/> </ajc-test> - + <ajc-test dir="bugs" pr="54421" title="Compile time declarations (warning and error) do not accept string concatenation (with +)"> <compile files="decwStrings.java"> @@ -261,14 +261,14 @@ <message kind="warning" line="39" text="abcdefghijklmnopqrstuvwxyz"/> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="54421" title="Compile time declarations (warning and error) do not accept string concatenation (with +) (2)"> <compile files="decwStringsErroneous.java"> <message kind="error" line="22"/> </compile> </ajc-test> - + <ajc-test dir="bugs/oxford" pr="61768" title="scope for inter-type methods"> <compile files="PR61768.java"> @@ -287,13 +287,13 @@ <compile files="PrivateCall2.java,PrivateCall3.java"/> <run class="def.PrivateCall3"/> </ajc-test> - + <ajc-test dir="bugs/doYouHaveVisiblePrivates" pr="71372" title="NoSuchMethodError calling private method from around advice in inner aspect (3)"> <compile files="PrivateCallInstance.java"/> <run class="PrivateCallInstance"/> </ajc-test> - + <ajc-test dir="bugs/doYouHaveVisiblePrivates" pr="71372" title="NoSuchMethodError calling private method from around advice in inner aspect (4)"> <compile files="PrivateCall_Instance_Package1.java,PrivateCall_Instance_Package2.java"/> @@ -305,7 +305,7 @@ <compile files="a/ITD.aj,b/B.aj"/> <run class="b.B"/> </ajc-test> - + <ajc-test dir="bugs/privilegedNPE" pr="67579" title="NPE on privileged aspect error (2)"> <compile files="b/B.aj,a/ITD.aj"/> @@ -317,14 +317,14 @@ <compile files="b/B.aj,a/ITD.aj"/> <run class="b.B"/> </ajc-test> - + <ajc-test dir="bugs/privilegedAccess" pr="67578" title="Privileged Aspect Access Problem Across Packages (2)"> <compile files="b/B_notPrivileged.aj,a/ITD.aj"> <message kind="error" line="7" text="The method returnNothing(Object) from the type ITD is not visible"/> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="62642" title="proper handling of ExceptionInIntializer inside clinit in presence of after throwing advice"> <compile files="pr62642.java"/> @@ -352,7 +352,7 @@ <message kind="error" line="12" text="Cannot make a static reference to the non-static method clone() from the type Object"/> </compile> </ajc-test> - + <ajc-test dir="design/sourceLines" pr="37020" title="wrong line for method execution join point"> <compile files="TestSourceLines.java"> @@ -380,20 +380,20 @@ title="The introduction on interface causes the interface implementation class error (1)"> <compile files="PublicPublic.java"/> </ajc-test> - - + + <ajc-test dir="bugs/interfaceITDs" pr="70794" title="The introduction on interface causes the interface implementation class error (2)"> <compile files="PackagePublic.java"/> </ajc-test> - + <ajc-test dir="bugs/interfaceITDs" pr="70794" title="The introduction on interface causes the interface implementation class error (3)"> <compile files="PackagePackage.java"> <message kind="error" line="17" text="abstract intertype method declaration 'void PackagePackage.world()' on interface PackagePackage must be declared public (compiler limitation)"/> </compile> </ajc-test> - + <ajc-test dir="bugs/interfaceITDs" pr="70794" title="The introduction on interface causes the interface implementation class error (4)"> <compile files="PublicPackage.java"> @@ -415,7 +415,7 @@ <message kind="error" line="2" text="The abstract pointcut tracingScope can only be defined in an abstract aspect"/> </compile> </ajc-test> - + <ajc-test dir="bugs" pr="72699" title="Bogus error message: The abstract method ajc$pointcut$$tracingScope$a2 in type Tracing can only be defined by an abstract class (2)"> <compile files="BogusMessage2.java"> @@ -423,19 +423,19 @@ <message kind="error" line="2" text="The abstract pointcut tracingScope can only be defined in an aspect"/> </compile> </ajc-test> - - <ajc-test dir="bugs/pr70404" pr="70404" + + <ajc-test dir="bugs/pr70404" pr="70404" title="passing null to array arguments confuzes static join point signature. (1)"> <compile files="Main.java,MainAspect.java"/> <run class="dk.infimum.aspectjtest.Main"/> </ajc-test> - <ajc-test dir="bugs/pr70404" pr="70404" + <ajc-test dir="bugs/pr70404" pr="70404" title="passing null to array arguments confuzes static join point signature. (2)"> <compile files="Main2.java,MainAspect.java"/> <run class="dk.infimum.aspectjtest.Main2"/> </ajc-test> - + <ajc-test dir="bugs" pr="72528" title="around advice throws java.lang.VerifyError at runtime"> <compile files="ArrayCloning.java"/> @@ -448,9 +448,9 @@ <message kind="error" line="13" text="Unhandled"/> </compile> </ajc-test> - - <ajc-test - dir="bugs" + + <ajc-test + dir="bugs" pr="75129" title="NPE on thisJoinPoint mistake"> <compile files="TjpMistake.java"> @@ -462,35 +462,35 @@ <compile files="CounterTest01.java"/> <run class="CounterTest01"/> </ajc-test> - + <ajc-test dir="cflow" pr="76030" title="Optimization of cflow - shared counters (2)"> <compile files="CounterTest02.java" options="-1.4"/> <run class="CounterTest02"/> </ajc-test> - + <ajc-test dir="cflow" pr="76030" title="Optimization of cflow - shared stacks (3)"> <compile files="CounterTest03.java"/> <run class="CounterTest03"/> </ajc-test> - + <ajc-test dir="cflow" pr="76030" title="Optimization of cflow - counters (4)"> <compile files="CounterTest04.java" options="-1.4"/> <run class="CounterTest04"/> </ajc-test> - + <ajc-test dir="cflow" pr="76030" title="Optimization of cflow - counters with abstract pointcuts (5)"> <compile files="CounterTest05.java"/> <run class="CounterTest05"/> </ajc-test> - + <ajc-test dir="bugs/pr76096" pr="76096" title="Anonymous classes unaware of introductions into abstract classes"> <compile files="ConcreteClassA.java"/> <run class="ConcreteClassA"/> </ajc-test> - + <ajc-test dir="bugs" pr="74952" title="before,after not (cflow(within(Trace*))) prints nothing"> <compile files="WhatsGoingOn.java"/> <run class="WhatsGoingOn"/> </ajc-test> - + </suite> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc150/ajc150.xml index 0c3f4da84..7963070e0 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc150/ajc150.xml @@ -892,7 +892,7 @@ <ajc-test dir="bugs150" pr="107059" title="target(@Foo *)"> <compile files="pr107059_2.aj" options="-1.5"> - <message kind="error" line="4" text="wildcard type pattern not allowed"></message> + <message kind="error" line="4" text="wildcard type pattern not allowed"/> </compile> </ajc-test> @@ -907,9 +907,9 @@ <ajc-test dir="bugs150" pr="108050" title="signature matching in override scenario"> <compile files="pr108050.aj" options="-1.5"> - <message kind="warning" line = "2" text="servlet request"></message> - <message kind="warning" line = "7" text="servlet request"></message> - <message kind="warning" line = "21" text="servlet request"></message> + <message kind="warning" line="2" text="servlet request"/> + <message kind="warning" line="7" text="servlet request"/> + <message kind="warning" line="21" text="servlet request"/> </compile> </ajc-test> @@ -923,7 +923,8 @@ <ajc-test dir="bugs150/" pr="107953" title="@AfterThrowing with no formal specified"> <compile files="pr107953.java" options="-1.5"> - <message kind="error" line="8" text="throwing formal 'RuntimeException' must be declared as a parameter in the advice signature"></message> + <message kind="error" line="8" + text="throwing formal 'RuntimeException' must be declared as a parameter in the advice signature"/> </compile> </ajc-test> @@ -980,8 +981,10 @@ <ajc-test title="matching against Object[]" pr="72668" dir="bugs150"> <compile files="pr72668.aj" options="-1.5"> - <message kind="error" line="3" text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"></message> - <message kind="error" line="10" text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"></message> + <message kind="error" line="3" + text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"/> + <message kind="error" line="10" + text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"/> </compile> </ajc-test> @@ -1020,17 +1023,17 @@ <ajc-test dir="bugs" pr="61568" title="Various kinds of ambiguous bindings"> <compile files="AmbiguousBindings.aj" options="-1.4"> - <message line="17" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> - <message line="19" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> - <message line="21" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> - <message line="23" text="ambiguous binding of parameter(s) x across '||' in pointcut"></message> - <message line="25" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> + <message line="17" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> + <message line="19" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> + <message line="21" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> + <message line="23" text="ambiguous binding of parameter(s) x across '||' in pointcut"/> + <message line="25" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> </compile> </ajc-test> <ajc-test dir="bugs" pr="61658" title="ambiguous args"> <compile files="PR61658.java" options="-1.5"> - <message line="17" text="ambiguous binding of parameter(s) a, b across '||' in pointcut"></message> + <message line="17" text="ambiguous binding of parameter(s) a, b across '||' in pointcut"/> </compile> </ajc-test> @@ -1153,8 +1156,8 @@ <ajc-test dir="bugs150" pr="107858" title="inlined field access in proceed call"> <compile files="pr107858.aj" options="-1.5"> - <message kind="error" line="9" text="too many arguments to proceed, expected 0"></message> - <message kind="error" line="10" text="too many arguments to proceed, expected 0"></message> + <message kind="error" line="9" text="too many arguments to proceed, expected 0"/> + <message kind="error" line="10" text="too many arguments to proceed, expected 0"/> </compile> </ajc-test> @@ -1258,11 +1261,11 @@ <ajc-test dir="bugs150/pr87530" pr="87530" title="final itd methods on interfaces"> <compile files="FinalITDMOnInterface.aj" options="-1.5"> - <message kind="error" line="12" text="Cannot override the final method from A.TestInterface"></message> + <message kind="error" line="12" text="Cannot override the final method from A.TestInterface"/> </compile> <compile files="FinalITDMOnInterface2.aj" options="-1.5"> <!--message kind="error" line="8" text="Cannot override the final method from A.TestInterface"></message--> - <message kind="error" line="8" text="can't override final void A$TestInterface.m()"></message> + <message kind="error" line="8" text="can't override final void A$TestInterface.m()"/> </compile> </ajc-test> @@ -1620,17 +1623,17 @@ <ajc-test title="declare parents : hasmethod(..) - 1" dir="hasmember"> <compile files="HasMethod.aj" options="-1.5 -XhasMember"/> - <run class="HasMethod"></run> + <run class="HasMethod"/> </ajc-test> <ajc-test title="declare parents : hasmethod(..) - 2" dir="hasmember"> <compile files="HasMethodInherited.aj" options="-1.5 -XhasMember"/> - <run class="HasMethodInherited"></run> + <run class="HasMethodInherited"/> </ajc-test> <ajc-test title="declare parents : hasmethod(..) - 3" dir="hasmember"> <compile files="HasPrivateMethodInherited.aj" options="-1.5 -XhasMember"/> - <run class="HasPrivateMethodInherited"></run> + <run class="HasPrivateMethodInherited"/> </ajc-test> <ajc-test title="declare parents : hasmethod(..) - 4" dir="hasmember"> @@ -1641,17 +1644,17 @@ <ajc-test title="declare parents : hasfield(..) - 1" dir="hasmember"> <compile files="HasField.aj" options="-1.5 -XhasMember"/> - <run class="HasField"></run> + <run class="HasField"/> </ajc-test> <ajc-test title="declare parents : hasfield(..) - 2" dir="hasmember"> <compile files="HasFieldInherited.aj" options="-1.5 -XhasMember"/> - <run class="HasFieldInherited"></run> + <run class="HasFieldInherited"/> </ajc-test> <ajc-test title="declare parents : hasfield(..) - 3" dir="hasmember"> <compile files="HasPrivateFieldInherited.aj" options="-1.5 -XhasMember"/> - <run class="HasPrivateFieldInherited"></run> + <run class="HasPrivateFieldInherited"/> </ajc-test> <!-- Annotation binding tests --> @@ -3150,7 +3153,7 @@ <compile files="BaseTypes.java,DecaTypeBin5.aj" options="-1.5" xlintfile="ignoreTypeNotExposed.properties"> <message kind="error" line="15" text="The annotation @ColorM is disallowed for this location"/> <message kind="error" line="16" text="The annotation @ColorC is disallowed for this location"/> - <message king="error" line="17" text="A is not a valid target for annotation ColorA"/> + <message kind="error" line="17" text="A is not a valid target for annotation ColorA"/> <message kind="error" line="18" text="The annotation @ColorF is disallowed for this location"/> <message kind="error" line="19" text="The annotation @ColorP is disallowed for this location"/> <message kind="error" line="20" text="The annotation @ColorL is disallowed for this location"/> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc153/ajc153.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc153/ajc153.xml index 429d2edf1..00bf094bc 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc153/ajc153.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc153/ajc153.xml @@ -580,7 +580,7 @@ <ajc-test dir="bugs153/pr149560" title="incorrect staticinitialization weaving - codestyle"> <compile files="CodeStyle.java" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point 'staticinitialization(void MyAspect.<clinit>())' in Type 'MyAspect' (CodeStyle.java:3) advised by after advice from 'MyAspect' (CodeStyle.java:4)"/> - <message kind="weave" test="Join point 'staticinitialization(void CodeStyle.<clini>())' in Type 'CodeStyle' (CodeStyle.java:9) advised by after advice from 'MyAspect' (CodeStyle.java:4)"/> + <message kind="weave" text="Join point 'staticinitialization(void CodeStyle.<clinit>())' in Type 'CodeStyle' (CodeStyle.java:9) advised by after advice from 'MyAspect' (CodeStyle.java:4)"/> </compile> <run class="CodeStyle"> <stdout> @@ -594,7 +594,7 @@ <ajc-test dir="bugs153/pr149560" title="incorrect staticinitialization weaving - annstyle"> <compile files="AnnStyle.java" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point 'staticinitialization(void MyAspect.<clinit>())' in Type 'MyAspect' (AnnStyle.java:5) advised by after advice from 'MyAspect' (AnnStyle.java:7)"/> - <message kind="weave" test="Join point 'staticinitialization(void AnnStyle.<clini>())' in Type 'AnnStyle' (AnnStyle.java:12) advised by after advice from 'MyAspect' (AnnStyle.java:7)"/> + <message kind="weave" text="Join point 'staticinitialization(void AnnStyle.<clinit>())' in Type 'AnnStyle' (AnnStyle.java:12) advised by after advice from 'MyAspect' (AnnStyle.java:7)"/> </compile> <run class="AnnStyle"> <stdout> @@ -791,10 +791,10 @@ <compile files="TestAroundClosure.aj" options="-1.4"/> <run class="HelloWorld" ltw="aop-aroundclosure.xml"> <stdout> - <line text="&rt; ConcreteAspectWithAroundClosure()"/> + <line text="> ConcreteAspectWithAroundClosure()"/> <line text="< ConcreteAspectWithAroundClosure()"/> <line text="? void HelloWorld.main(String[])"/> - <line text="&rt; HelloWorld()"/> + <line text="> HelloWorld()"/> <line text="< HelloWorld()"/> <line text="Hello World!"/> </stdout> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml index b9aa9525a..650bdea43 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1612/ajc1612.xml @@ -585,7 +585,7 @@ <ajc-test dir="bugs1612/pr345515" title="anno copying"> <compile files="Code.java" options="-1.5"/> -<run class="Code"></run> + <run class="Code"/> </ajc-test> <ajc-test dir="bugs1612/pr327867" title="synthetic methods"> @@ -653,7 +653,7 @@ <ajc-test dir="bugs1612/pr315398" title="verifyerror - 2"> <compile files="Code2.java" options="-1.5"> </compile> -<run class="Code2"></run> + <run class="Code2"/> </ajc-test> <ajc-test dir="bugs1612/pr335810" title="rawtype warning"> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc164/ajc164.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc164/ajc164.xml index e1c8e87b4..a14d8d0e7 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc164/ajc164.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc164/ajc164.xml @@ -15,44 +15,44 @@ <ajc-test dir="bugs164/pr268689" title="generics aspects npe"> <compile files="GenericAspect.aj ConcreteAspect.aj" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs164/pr267559" title="generics and itd npe"> <compile files="IMarker.java ClassB.java Aspect.java ClassA.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs164/pr266564" title="annotation style long"> <compile files="AA.java" options="-1.5"/> <run class="business.AA"/> </ajc-test> - + <ajc-test dir="bugs164/pr266564" title="annotation style long - 2"> <compile files="CC.java" options="-1.5"/> <run class="business.CC"/> </ajc-test> - + <ajc-test dir="bugs164/pr266420" title="unused private warning"> <compile files="A.java" options="-1.5 -warn:unusedPrivate"/> </ajc-test> - + <ajc-test dir="bugs164/pr266420" title="unused private warning - 2"> <compile files="B.java" options="-1.5 -warn:unusedPrivate"> <message kind="warning" text="The value of the field B.i is not used"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr266420" title="unused private warning - 3"> <compile files="C.java" options="-1.5 -warn:unusedPrivate"> <message kind="warning" text="The value of the field C.j is not used"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr265729" title="aspectpath model"> <compile files="Aspect.java Orange.java Strawberry.java Fruit.java" outjar="library.jar" options="-emacssym"/> <compile files="Orange.java Strawberry.java Fruit.java" aspectpath="library.jar" options="-emacssym"/> <!-- --> </ajc-test> - + <ajc-test dir="bugs164/pr266220" title="generics and aop.xml"> <compile files="Code.java"/> <compile files="Isolator.java" outjar="aspects.jar" options="-1.5"/> @@ -64,21 +64,21 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs164/pr266165" title="optimizing if for constant reference - 1"> <compile files="NeverWeave.java" options="-1.5 -Xlint:ignore -showWeaveInfo"/> </ajc-test> - + <ajc-test dir="bugs164/pr266165" title="optimizing if for constant reference - 2"> <compile files="AlwaysWeave.java" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr266165" title="optimizing if for constant reference - 3"> <compile files="NeverWeave2.java" options="-1.5 -Xlint:ignore -showWeaveInfo"/> </ajc-test> - + <ajc-test dir="bugs164/pr266165" title="optimizing if for constant reference - 4"> <compile files="AlwaysWeave2.java" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point"/> @@ -92,19 +92,19 @@ <message kind="warning" line="26" text="advice defined"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr265695" title="new syntax for inherited anno - 1"> <compile files="AspNew.aj" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr265695" title="new syntax for inherited anno - 3"> <compile files="AspNew2.aj" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr265418" title="varargs"> <compile files="A.java" options="-1.5"/> <run class="A"> @@ -118,25 +118,25 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs164" title="parser problem for array subtypes"> <compile files="PR148508.java"/> <run class="PR148508"> </run> </ajc-test> - + <ajc-test dir="bugs164/pr265360" title="incorrect resolution of Date"> <compile files="Foo.java Main.java" options="-1.5"> <message kind="warning" text="no match for this type name: Date "/> - <message kind="warning" test="advice defined in"/> + <message kind="warning" text="advice defined in"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr233032" title="dual preClinit"> <compile files="A.java" options="-1.5"/> <run class="A"/> </ajc-test> - + <ajc-test dir="features164/aopconfig/one" title="aop config - 1"> <compile files="A.java A2.java B.java foo.xml" options="-1.5 -showWeaveInfo -xmlConfigured"> <message kind="weave" text="Join point 'staticinitialization(void A.<clinit>())' in Type 'A' (A.java:1) advised by before advice from 'A' (A.java:2)"/> @@ -144,20 +144,20 @@ <message kind="weave" text="Join point 'staticinitialization(void B.<clinit>())' in Type 'B' (B.java:1) advised by before advice from 'A' (A.java:2)"/> </compile> </ajc-test> - + <ajc-test dir="features164/aopconfig/one" title="aop config - 2"> <compile files="A.java A2.java B.java B2.java foo2.xml" options="-1.5 -showWeaveInfo -xmlConfigured"> <message kind="weave" text="Join point 'staticinitialization(void B.<clinit>())' in Type 'B' (B.java:1) advised by before advice from 'A' (A.java:2)"/> </compile> </ajc-test> - + <ajc-test dir="features164/aopconfig/two" title="aop config - 3"> <!-- type pattern in the scope in foo.xml is complete nonsense --> <compile files="A.java B.java foo.xml" options="-1.5 -Xlint:ignore -xmlConfigured"> <message kind="error" text="Unable to parse scope as type pattern"/> </compile> </ajc-test> - + <ajc-test dir="features164/aopconfig/one" title="aop config - 4"> <!-- excluding a type --> <compile files="A.java A2.java B.java B2.java case4.xml" options="-1.5 -Xlint:ignore -xmlConfigured -showWeaveInfo"> @@ -169,7 +169,7 @@ <message kind="weave" text="Join point 'staticinitialization(void B.<clinit>())' in Type 'B' (B.java:1) advised by before advice from 'A' (A.java:2)"/> </compile> </ajc-test> - + <ajc-test dir="features164/aopconfig/one" title="aop config - 5"> <!-- excluding a type --> <compile files="A.java A2.java B.java B2.java case5.xml" options="-1.5 -Xlint:ignore -xmlConfigured -showWeaveInfo"> @@ -179,100 +179,100 @@ <message kind="weave" text="Join point 'staticinitialization(void A2.<clinit>())' in Type 'A2' (A2.java:1) advised by before advice from 'A' (A.java:2)"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr263310" title="inner handles"> <compile files="HandleTestingAspect.java" options="-1.5 -emacssym -Xlint:ignore"/> </ajc-test> - + <ajc-test dir="bugs164/pr263666" title="around advice handles"> <compile files="x/A.java x/B.java x/OverrideOptions.aj" options="-1.5 -emacssym"/> </ajc-test> - + <ajc-test dir="bugs164" title="ajcthis not read"> <compile files="pr195090.java" options="-1.5 -warn:+unusedArgument"> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr256779" title="anno decprecedence"> <compile files="ThisAspect.java OtherAspect.java" options="-1.5"/> <run class="com.ThisAspect" ltw="aop.xml"/> </ajc-test> - + <ajc-test dir="bugs164/pr262905" title="recursive cflow"> <compile files="A.java" options="-1.5"> <message kind="warning" line="5" text="advice defined"/> <message kind="error" line="3" text="circular"/> </compile> </ajc-test> - + <ajc-test dir="bugs164/pr194314" title="broken lvt - 1"> <compile files="Service.java IService.java Main.java ServiceInterceptor.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs164/pr194314" title="broken lvt - 2"> <compile files="Service.java IService.java Main.java ServiceInterceptorCodeStyle.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs164/pr194314" title="broken lvt - 3"> <compile files="ITDOne.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs164/pr262509" title="debugging before advice"> <compile files="Foo.java" options="-1.5"/> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr262509" title="debugging before advice - 2"> <compile files="Foo2.java" options="-1.5 -preserveAllLocals"/> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr262509" title="debugging before advice - 3"> <compile files="Foo3.java" options="-1.5 -preserveAllLocals"/> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr246393" title="rogue errors - 1"> <compile files="D.java" options="-1.5"> <message kind="error" line="2" text="error on token"/> </compile> - </ajc-test> + </ajc-test> <ajc-test dir="bugs164/pr262257" title="name clash"> <compile files="C.java" options="-1.5"> </compile> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr260384" title="compiling spring"> <compile files="Broken.java" options="-1.5"> </compile> - </ajc-test> + </ajc-test> <ajc-test dir="bugs164/pr260384" title="compiling spring - 2"> <compile files="Broken2.java" options="-1.5"> </compile> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr260384" title="compiling spring - 3"> <compile files="C.java" options="-1.5 -emacssym"/> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr260384" title="compiling spring - 4"> <compile files="D.java" options="-1.5"> </compile> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr164016" title="ataspectj decp 164016"> <compile files="Code.aj" options="-1.5"/> <run class="test.Code"/> - </ajc-test> - - + </ajc-test> + + <ajc-test dir="bugs164/pr164016" title="ataspectj decp 164016 - 2"> <compile files="Code.java TargetBad.java TargetGood.java" aspectpath="code.jar" options="-1.5"/> <run class="test.Code"/> - </ajc-test> - + </ajc-test> + <ajc-test dir="bugs164/pr258788" title="ataspectj decp 258788"> <compile files="NameAware.java NameManager.java NameManagerImpl.java StartClass.java TargetClass.java TestAspect.java" options="-1.5"/> <run class="com.StartClass"/> - </ajc-test> - -</suite>
\ No newline at end of file + </ajc-test> + +</suite> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc170/ajc170.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc170/ajc170.xml index fde9ff259..f3f18f6d9 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc170/ajc170.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc170/ajc170.xml @@ -5,15 +5,15 @@ <ajc-test dir="bugs170/pr382723" title="generic aspect"> <compile files="FooAspect.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs170/pr382723" title="generic aspect 2"> <compile files="FooAspect2.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs170/pr382723" title="generic aspect 3"> <compile files="FooAspect3.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs170/pr382723" title="generic aspect 4"> <compile files="Foo.java" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Join point 'constructor-call(void java.util.LinkedList.<init>())' in Type 'Foo' (Foo.java:41) advised by around advice from 'Bar' (Foo.java:14)"/> @@ -26,33 +26,33 @@ </stdout> </run> </ajc-test> - - + + <!-- no declare parents, only ITD --> <ajc-test dir="bugs170/pr382189/one" title="covariant generics 1"> <compile files="A.java A_ITD.aj B.java SuperA.java SuperB.java" options="-1.5"/> </ajc-test> - + <!-- now declare parents and ITD --> <ajc-test dir="bugs170/pr382189/two" title="covariant generics 2"> <compile files="A.java A_ITD.aj B.java SuperA.java SuperB.java" options="-1.5"/> </ajc-test> - + <!-- now run it --> <ajc-test dir="bugs170/pr382189/three" title="covariant generics 3"> <compile files="A.java A_ITD.aj B.java SuperA.java SuperB.java" options="-1.5"/> <run class="A"/> </ajc-test> - + <ajc-test dir="bugs170/pr382435/one" title="covariant generic itds 1"> <compile files="bug/A.java" options="-1.5"/> </ajc-test> - + <ajc-test dir="bugs170/pr382435/two" title="covariant generic itds 2"> <compile files="bug/A.java" options="-1.5"/> <run class="bug.A"/> </ajc-test> - + <ajc-test dir="bugs170/pr382189" title="covariant generics"> <compile files="covbug/A.java covbug/A_ITD.aj covbug/B.java covbug/SuperA.java covbug/SuperB.java" options="-1.5"/> <!-- <run class="Foo"> @@ -60,7 +60,7 @@ <line text="@Anno()"/></stdout> </run> --> </ajc-test> - + <ajc-test dir="bugs170/pr377130" title="missing annos on priv aspects"> <compile files="Foo.java" options="-1.5"/> <run class="Foo"> @@ -68,7 +68,7 @@ <line text="@Anno()"/></stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/pr377130" title="missing annos on priv aspects - 2"> <compile files="Foo2.java" options="-1.5"/> <run class="Foo2"> @@ -83,7 +83,7 @@ <compile inpath="code.jar" aspectpath="aspects.jar" options="-showWeaveInfo"> <message kind="weave" text="Join point 'constructor-call(void R.<init>())'"/> </compile> - <!-- + <!-- if we had a 1.7 vm we could use this: <compile files="RAj.java" options="-1.7 -Xlint:ignore"/> <run class="R" ltw="aop.xml"> @@ -110,7 +110,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/ltw" title="dec at field ordering 2"> <compile files="Anno.java Main.java TriggerAll.java MyObject.java" options="-1.5"/> <run class="ch.tests.Main"> @@ -120,7 +120,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/ltw" title="dec at field ordering ltw 1"> <compile files="Anno.java Main.java MyObject.java" options="-1.5"/> <compile files="TriggerAll.java" options="-Xlint:ignore -1.5 "/> @@ -144,7 +144,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec at method 2"> <compile files="Hello.java Anno2.java" options="-1.5"/> <run class="Hello" ltw="aop2.xml"> @@ -163,7 +163,7 @@ </stderr> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec at field"> <compile files="Hello2.java Anno.java" options="-1.5"/> <run class="Hello2" ltw="aop3.xml"> @@ -174,7 +174,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec anno - variants 1"> <compile files="Hello4.java Anno4.java" options="-1.5"/> <run class="Hello4" ltw="aop4.xml"> @@ -195,7 +195,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec anno - variants 2"> <compile files="Hello5.java Anno5.java" options="-1.5"/> <run class="Hello5" ltw="aop5.xml"> @@ -216,7 +216,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec anno - multiple values"> <compile files="Hello6.java Anno6.java" options="-1.5"/> <run class="Hello6" ltw="aop6.xml"> @@ -228,7 +228,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec anno - multiple values and spaces"> <compile files="Hello6.java Anno6.java" options="-1.5"/> <run class="Hello6" ltw="aop6a.xml"> @@ -240,7 +240,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/xmldefs" title="xml defined dec anno - type"> <compile files="Hello7.java Anno7.java" options="-1.5"/> <run class="Hello7" ltw="aop7.xml"> @@ -261,7 +261,7 @@ </compile> <run class="AspectTest"/> </ajc-test> - + <ajc-test dir="bugs170/transientTjpFields" title="transient tjp fields"> <compile files="Code.java" options="-Xset:makeTjpFieldsTransient=true"> </compile> @@ -271,54 +271,54 @@ <compile files="PerThis.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="pertarget"> <compile files="PerTarget.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="percflow"> <compile files="PerCflow.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="pertypewithin"> <compile files="PerTypeWithin.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="diamond 1"> <compile files="Diamond.java" options="-1.5"> <message kind="error" line="11" text="'<>' operator is not allowed for source level below 1.7"/> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="diamond 2"> <compile files="Diamond.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="diamond itd 1"> <compile files="DiamondITD.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="literals 1"> <compile files="Literals.java" options="-1.5"> <message kind="error" line="8" text="Underscores can only be used with source level 1.7 or greater"/> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="literals 2"> <compile files="Literals.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="literals itd 1"> <compile files="LiteralsITD.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="string switch 1"> <compile files="StringSwitch.java" options="-1.5"> <message kind="error" line="9" text="Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted"/> @@ -329,7 +329,7 @@ <compile files="StringSwitch.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="multi catch 1"> <compile files="MultiCatch.java" options="-1.5"> <message kind="error" line="6" text="Multi-catch parameters are not allowed for source level below 1.7"/> @@ -340,12 +340,12 @@ <compile files="MultiCatch.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="multi catch with handler 1"> <compile files="MultiCatchWithHandler.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="multi catch aspect 1"> <compile files="MultiCatchAspect.java" options="-1.7"> </compile> @@ -355,23 +355,23 @@ <compile files="TryResources.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="try resources 2"> <compile files="TryResourcesAspect.java" options="-1.7"> </compile> </ajc-test> - + <ajc-test dir="bugs170/language" title="multi catch with handler 2"> <compile files="MultiCatchWithHandler2.java" options="-1.7"> </compile> - <run class="MultiCatchWithHandler2"></run> + <run class="MultiCatchWithHandler2"/> </ajc-test> - + <ajc-test dir="bugs170/sanity" title="sanity 1"> <compile files="DeclareAtType.java" options="-1.5"> </compile> </ajc-test> - + <ajc-test dir="bugs170/pr363979" title="missing impl"> <compile files="Example.java" options="-1.5"/> <run class="Example"> @@ -380,7 +380,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/pr363979" title="missing impl 2"> <compile files="Example2.java" options="-1.5"/> <run class="Example2"> @@ -389,12 +389,12 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs170/pr364380" title="stackoverflow"> <compile files="X.aj" options="-1.5" outjar="foo.jar"/> <compile files="C.java" options="-1.5" inpath="foo.jar"> <message kind="warning" text="An advice already exists for setting an owner"/> </compile> </ajc-test> - + </suite> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc172/ajc172.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc172/ajc172.xml index 4509d4979..79cb7b311 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc172/ajc172.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc172/ajc172.xml @@ -107,7 +107,7 @@ </ajc-test> <ajc-test dir="bugs172/pr398246" title="if pointcut names 4"> - <compile files="Code4.java" options="-1.5"></compile> + <compile files="Code4.java" options="-1.5"/> <compile files="Code4.java" options="-1.5" outjar="aspects.jar"/> <run class="Code4" options="-1.5"> <stdout> @@ -115,7 +115,7 @@ <line text="advice"/> </stdout> </run> - <compile files="CodeExtra4.java" aspectpath="aspects.jar" options="-1.5"></compile> + <compile files="CodeExtra4.java" aspectpath="aspects.jar" options="-1.5"/> <run class="CodeExtra4" options="-1.5"> <stdout> <line text="advice"/> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1810/ajc1810.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1810/ajc1810.xml index 0171f5b55..90fcbc1e7 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1810/ajc1810.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1810/ajc1810.xml @@ -27,7 +27,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs1810/500035" title="ataspectj binding 2"> <compile options="-1.8" files="Code2.java"/> <run class="Code2"> @@ -39,7 +39,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs1810/500035" title="ataspectj binding 3 -XnoInline"> <compile options="-1.8 -XnoInline" files="Code3.java"/> <run class="Code3"> @@ -59,7 +59,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs1810/500035" title="ataspectj binding 4"> <compile options="-1.8" files="Code3.java"/> <run class="Code3"> @@ -79,7 +79,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs1810/501656" title="generics exception"> <compile options="-1.8 -parameters" files="ApplicationException.java ApplicationExceptionHandler.java"/> </ajc-test> @@ -90,7 +90,7 @@ <ajc-test dir="bugs1810/493554" title="pertarget"> <compile options="-1.8" files="Dep.java FooAspect.aj Cmd.java"/> - <run class="example.kusedep.Cmd"></run> + <run class="example.kusedep.Cmd"/> </ajc-test> <ajc-test dir="bugs1810/ambig" title="ambiguous message - 18"> @@ -106,5 +106,5 @@ <message kind="error" text="The method toList() in the type Collectors is not applicable for the arguments (Inner::getId)"/> </compile> </ajc-test> - + </suite> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc183/ajc183.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc183/ajc183.xml index e1c40ae72..0e495139c 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc183/ajc183.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc183/ajc183.xml @@ -26,7 +26,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs183/436653/abstract" title="suppress type not found - abstract 1"> <compile options="-1.8 -Xlint:ignore" files="A.java" outjar="codeA.jar"/> <compile options="-1.8" files="AA.java X.java" classpath="codeA.jar" outjar="aspects.jar"/> @@ -44,7 +44,7 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs183/436653" title="suppress type not found 4"> <compile options="-1.8 -Xlint:ignore" files="X.java" outjar="aspects.jar"/> <compile options="-1.8" files="Runner.java"/> @@ -54,10 +54,10 @@ </stdout> </run> </ajc-test> - + <ajc-test dir="bugs183/436653" title="suppress type not found 5"> <compile options="-1.8 -Xlint:ignore" files="X.java" outjar="aspects.jar"/> - <compile class="-1.8" files="A.java"/> + <compile options="-1.8" files="A.java"/> <compile options="-1.8" files="Runner.java"/> <run class="Runner" ltw="aop.xml"> <stdout> @@ -66,7 +66,7 @@ </stdout> </run> </ajc-test> - + <!-- annotation style aspect, missing type so deactivated --> <ajc-test dir="bugs183/436653" title="suppress type not found 6"> <compile options="-1.8 -Xlint:ignore" files="AnnoX.java" outjar="aspects.jar"/> @@ -77,7 +77,7 @@ </stdout> </run> </ajc-test> - + <!-- annotation style aspect, type not missing so not deactivated --> <ajc-test dir="bugs183/436653" title="suppress type not found 7"> <compile options="-1.8 -Xlint:ignore" files="AnnoX.java A.java" outjar="aspects.jar"/> @@ -89,7 +89,7 @@ </stdout> </run> </ajc-test> - + <!-- annotation style aspect, type not missing so not deactivated --> <ajc-test dir="bugs183/436653" title="suppress type not found 8"> <compile options="-1.8 -Xlint:ignore" files="AnnoX.java A.java" outjar="aspects.jar"/> @@ -114,7 +114,7 @@ <message kind="info" text="*deactivating aspect 'XA2' as it requires type 'B' which cannot be found on the classpath"/> </compile> </ajc-test> - + <ajc-test dir="bugs183/436653" title="suppress type not found 2"> <compile options="-1.8" files="A.java" outjar="typeA.jar"/> <!-- adviceDidNotMatch messages are suppressed here --> @@ -122,7 +122,7 @@ <compile options="-1.8" files="Code.java" aspectpath="aspects.jar"> </compile> </ajc-test> - + <ajc-test dir="bugs183/436653" title="suppress type not found"> <compile options="-1.8" files="A.java" outjar="typeA.jar"/> <!-- adviceDidNotMatch messages are suppressed here --> @@ -148,12 +148,12 @@ <compile options="-1.8" files="ControlFlow.java ForReplacer.java ControlFlowCommand.java ControlFlowDriver.java"> </compile> </ajc-test> - + <ajc-test dir="bugs183/444398" title="abstract aspect npe"> <compile options="-1.8" files="Bottom.java Middle.java Top.java"> </compile> </ajc-test> - + <ajc-test dir="bugs183/442425" title="anno style decp"> <compile options="-1.8" files="EntityController.java IEntityController.java MyAnnotatedController.java EntityControllerAspect.java EntityMongoController.java"> <message kind="error" line="23" text="Type mismatch: cannot convert from MyAnnotatedController<String> to IEntityController<String>"/> @@ -173,10 +173,10 @@ </run> --> </ajc-test> - + <ajc-test dir="bugs183/443477" title="verifyerror"> <compile options="-1.7" files="Coo.java"/> <run class="Coo"/> </ajc-test> - + </suite> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml index dfa22f696..86594730d 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc187/ajc187.xml @@ -41,7 +41,7 @@ </ajc-test> <ajc-test dir="bugs187/469889" title="broken java"> -<!-- +<!-- <compile files="A.java B.java AbstractA.java BImpl.java Main.java" options="-1.8"/> --> <compile files="Code.java" options="-1.8"/> @@ -61,7 +61,7 @@ <compile files="B.java" options="-XhasMember -1.8 -showWeaveInfo"> <message kind="weave" text="Extending interface set for type 'B' (B.java) to include 'java.io.Serializable' (B.java)"/> </compile> -<run class="B"></run> + <run class="B"/> </ajc-test> </suite> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190.xml index 8290bc418..0db1fdc14 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190.xml @@ -190,7 +190,7 @@ <ajc-test dir="bugs190/modules" title="weave module"> <compile files="aspect1/Azpect1.java" inpath="module1/module-one.jar" outjar="runner.jar" options="-1.8"/> - <java classpath="runner.jar" class="a.b.c.Code"/> + <run classpath="runner.jar" class="a.b.c.Code"/> </ajc-test> <ajc-test dir="bugs190/various" title="setting static final outside clinit"> diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190_from150.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190_from150.xml index 9eacce24a..885a0b74e 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190_from150.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc190/ajc190_from150.xml @@ -892,7 +892,7 @@ <ajc-test dir="bugs150" pr="107059" title="target(@Foo *)"> <compile files="pr107059_2.aj" options="-1.9"> - <message kind="error" line="4" text="wildcard type pattern not allowed"></message> + <message kind="error" line="4" text="wildcard type pattern not allowed"/> </compile> </ajc-test> @@ -907,9 +907,9 @@ <ajc-test dir="bugs150" pr="108050" title="signature matching in override scenario"> <compile files="pr108050.aj" options="-1.9"> - <message kind="warning" line = "2" text="servlet request"></message> - <message kind="warning" line = "7" text="servlet request"></message> - <message kind="warning" line = "21" text="servlet request"></message> + <message kind="warning" line="2" text="servlet request"/> + <message kind="warning" line="7" text="servlet request"/> + <message kind="warning" line="21" text="servlet request"/> </compile> </ajc-test> @@ -923,7 +923,8 @@ <ajc-test dir="bugs150/" pr="107953" title="@AfterThrowing with no formal specified"> <compile files="pr107953.java" options="-1.9"> - <message kind="error" line="8" text="throwing formal 'RuntimeException' must be declared as a parameter in the advice signature"></message> + <message kind="error" line="8" + text="throwing formal 'RuntimeException' must be declared as a parameter in the advice signature"/> </compile> </ajc-test> @@ -980,8 +981,10 @@ <ajc-test title="matching against Object[]" pr="72668" dir="bugs150"> <compile files="pr72668.aj" options="-1.9"> - <message kind="error" line="3" text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"></message> - <message kind="error" line="10" text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"></message> + <message kind="error" line="3" + text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"/> + <message kind="error" line="10" + text="incompatible return type applying to method-execution(java.lang.Number[] pr72668.getThoseInts())"/> </compile> </ajc-test> @@ -1020,17 +1023,17 @@ <ajc-test dir="bugs" pr="61568" title="Various kinds of ambiguous bindings"> <compile files="AmbiguousBindings.aj" options="-1.4"> - <message line="17" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> - <message line="19" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> - <message line="21" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> - <message line="23" text="ambiguous binding of parameter(s) x across '||' in pointcut"></message> - <message line="25" text="ambiguous binding of parameter(s) foo across '||' in pointcut"></message> + <message line="17" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> + <message line="19" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> + <message line="21" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> + <message line="23" text="ambiguous binding of parameter(s) x across '||' in pointcut"/> + <message line="25" text="ambiguous binding of parameter(s) foo across '||' in pointcut"/> </compile> </ajc-test> <ajc-test dir="bugs" pr="61658" title="ambiguous args"> <compile files="PR61658.java" options="-1.9"> - <message line="17" text="ambiguous binding of parameter(s) a, b across '||' in pointcut"></message> + <message line="17" text="ambiguous binding of parameter(s) a, b across '||' in pointcut"/> </compile> </ajc-test> @@ -1153,8 +1156,8 @@ <ajc-test dir="bugs150" pr="107858" title="inlined field access in proceed call"> <compile files="pr107858.aj" options="-1.9"> - <message kind="error" line="9" text="too many arguments to proceed, expected 0"></message> - <message kind="error" line="10" text="too many arguments to proceed, expected 0"></message> + <message kind="error" line="9" text="too many arguments to proceed, expected 0"/> + <message kind="error" line="10" text="too many arguments to proceed, expected 0"/> </compile> </ajc-test> @@ -1258,11 +1261,11 @@ <ajc-test dir="bugs150/pr87530" pr="87530" title="final itd methods on interfaces"> <compile files="FinalITDMOnInterface.aj" options="-1.9"> - <message kind="error" line="12" text="Cannot override the final method from A.TestInterface"></message> + <message kind="error" line="12" text="Cannot override the final method from A.TestInterface"/> </compile> <compile files="FinalITDMOnInterface2.aj" options="-1.9"> <!--message kind="error" line="8" text="Cannot override the final method from A.TestInterface"></message--> - <message kind="error" line="8" text="can't override final void A$TestInterface.m()"></message> + <message kind="error" line="8" text="can't override final void A$TestInterface.m()"/> </compile> </ajc-test> @@ -1620,17 +1623,17 @@ <ajc-test title="declare parents : hasmethod(..) - 1" dir="hasmember"> <compile files="HasMethod.aj" options="-1.9 -XhasMember"/> - <run class="HasMethod"></run> + <run class="HasMethod"/> </ajc-test> <ajc-test title="declare parents : hasmethod(..) - 2" dir="hasmember"> <compile files="HasMethodInherited.aj" options="-1.9 -XhasMember"/> - <run class="HasMethodInherited"></run> + <run class="HasMethodInherited"/> </ajc-test> <ajc-test title="declare parents : hasmethod(..) - 3" dir="hasmember"> <compile files="HasPrivateMethodInherited.aj" options="-1.9 -XhasMember"/> - <run class="HasPrivateMethodInherited"></run> + <run class="HasPrivateMethodInherited"/> </ajc-test> <ajc-test title="declare parents : hasmethod(..) - 4" dir="hasmember"> @@ -1641,17 +1644,17 @@ <ajc-test title="declare parents : hasfield(..) - 1" dir="hasmember"> <compile files="HasField.aj" options="-1.9 -XhasMember"/> - <run class="HasField"></run> + <run class="HasField"/> </ajc-test> <ajc-test title="declare parents : hasfield(..) - 2" dir="hasmember"> <compile files="HasFieldInherited.aj" options="-1.9 -XhasMember"/> - <run class="HasFieldInherited"></run> + <run class="HasFieldInherited"/> </ajc-test> <ajc-test title="declare parents : hasfield(..) - 3" dir="hasmember"> <compile files="HasPrivateFieldInherited.aj" options="-1.9 -XhasMember"/> - <run class="HasPrivateFieldInherited"></run> + <run class="HasPrivateFieldInherited"/> </ajc-test> <!-- Annotation binding tests --> @@ -3150,7 +3153,7 @@ <compile files="BaseTypes.java,DecaTypeBin5.aj" options="-1.9" xlintfile="ignoreTypeNotExposed.properties"> <message kind="error" line="15" text="The annotation @ColorM is disallowed for this location"/> <message kind="error" line="16" text="The annotation @ColorC is disallowed for this location"/> - <message king="error" line="17" text="A is not a valid target for annotation ColorA"/> + <message kind="error" line="17" text="A is not a valid target for annotation ColorA"/> <message kind="error" line="18" text="The annotation @ColorF is disallowed for this location"/> <message kind="error" line="19" text="The annotation @ColorP is disallowed for this location"/> <message kind="error" line="20" text="The annotation @ColorL is disallowed for this location"/> diff --git a/tests/src/test/resources/org/aspectj/systemtest/bringup/bringup.xml b/tests/src/test/resources/org/aspectj/systemtest/bringup/bringup.xml index 6009c9484..6e657c4df 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/bringup/bringup.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/bringup/bringup.xml @@ -4,11 +4,11 @@ <suite> <ajc-test title="empty class" dir="bringup"> - <compile files="EmptyClass.java"></compile> + <compile files="EmptyClass.java"/> </ajc-test> <ajc-test title="empty aspect" dir="bringup"> - <compile files="EmptyAspect.aj"></compile> + <compile files="EmptyAspect.aj"/> </ajc-test> - -</suite>
\ No newline at end of file + +</suite> |