summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2006-08-23 10:18:27 +0000
committeraclement <aclement>2006-08-23 10:18:27 +0000
commit1bad6cdfa2a530b74c30bb0d8122bead03413670 (patch)
treeb21fabe35432d3b2fba72d4bab8d7b52c9af4af2 /tests
parent945a257776a5879251ccb1b90cf24fd1d89bcfe6 (diff)
downloadaspectj-1bad6cdfa2a530b74c30bb0d8122bead03413670.tar.gz
aspectj-1bad6cdfa2a530b74c30bb0d8122bead03413670.zip
switch to a different XLint to rely on - since adviceDidNotMatch cannot occur in LTW now.
Diffstat (limited to 'tests')
-rw-r--r--tests/ltw/Aspect3.aj5
-rw-r--r--tests/ltw/Xlint-nomatch.properties2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml9
3 files changed, 9 insertions, 7 deletions
diff --git a/tests/ltw/Aspect3.aj b/tests/ltw/Aspect3.aj
index c27d9e1c2..08dff8c45 100644
--- a/tests/ltw/Aspect3.aj
+++ b/tests/ltw/Aspect3.aj
@@ -16,4 +16,9 @@ public aspect Aspect3 {
before () : execution(void Main.test999()) {
System.err.println("Aspect1.before_" + thisJoinPoint.getSignature().getName());
}
+
+ // triggers noGuardForLazyTjp warning if that warning is enabled
+ before(): call(* someNonExistentMethod(..)) {
+ System.out.println(thisJoinPoint);
+ }
}
diff --git a/tests/ltw/Xlint-nomatch.properties b/tests/ltw/Xlint-nomatch.properties
index 00f96a1c9..5249675db 100644
--- a/tests/ltw/Xlint-nomatch.properties
+++ b/tests/ltw/Xlint-nomatch.properties
@@ -1 +1 @@
-adviceDidNotMatch = warning
+noGuardForLazyTjp = warning
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml b/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
index e80293aee..14bf511c5 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
@@ -418,9 +418,8 @@
<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="info weaving 'Main'"/>
- <!-- will never come out for LTW, due to pipelining change pr146781 -->
- <!--line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/-->
</stderr>
</run>
</ajc-test>
@@ -442,9 +441,8 @@
<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="info weaving 'Main'"/>
- <!-- will never come out for LTW, due to pipelining change pr146781 -->
- <!--line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/-->
</stderr>
</run>
</ajc-test>
@@ -466,9 +464,8 @@
<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="info weaving 'Main'"/>
- <!-- will never come out for LTW, due to pipelining change pr146781 -->
- <!--line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/-->
</stderr>
</run>
</ajc-test>