aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-30 17:23:35 +0000
committeraclement <aclement>2005-11-30 17:23:35 +0000
commit2c8190702e95baf0489e384767c816f30d870c86 (patch)
tree7b1d55dd1a67a1c078b1c9c16f3aa3b649d74982 /tests
parentfcb16b97f4c2ca11e3f02b5e2b396932764b010d (diff)
downloadaspectj-2c8190702e95baf0489e384767c816f30d870c86.tar.gz
aspectj-2c8190702e95baf0489e384767c816f30d870c86.zip
implementation of new xlint: pr111667
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index 603cc05b3..b7113cd44 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -81,7 +81,7 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testVarargsITD_pr110906() { runTest("ITD varargs problem");}
public void testBadRenderer_pr86903() { runTest("bcelrenderer bad");}
- //public void testLintForAdviceSorting_pr111667() { runTest("lint for advice sorting");}
+ public void testLintForAdviceSorting_pr111667() { runTest("lint for advice sorting");}
public void testIncompatibleClassChangeError_pr113630_1() {runTest("IncompatibleClassChangeError - errorscenario");}
public void testIncompatibleClassChangeError_pr113630_2() {runTest("IncompatibleClassChangeError - workingscenario");}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 027648cf8..1b24aa992 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -87,7 +87,8 @@
</ajc-test>
<ajc-test dir="bugs150/pr111667" pr="111667" title="lint for advice sorting">
- <compile files="A.java,X.java,Y.java" options="-1.5">
+ <compile files="A.java,X.java,Y.java" options="-1.5 -Xlint:warning">
+ <message kind="warning" line="9" text="at this shadow method-execution(void A.m1()) no precedence is specified between advice applying from aspect X and aspect Y [Xlint:unorderedAdviceAtShadow]"/>
</compile>
</ajc-test>