From 1bad6cdfa2a530b74c30bb0d8122bead03413670 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 23 Aug 2006 10:18:27 +0000 Subject: [PATCH] switch to a different XLint to rely on - since adviceDidNotMatch cannot occur in LTW now. --- tests/ltw/Aspect3.aj | 5 +++++ tests/ltw/Xlint-nomatch.properties | 2 +- .../src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml | 9 +++------ 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 @@ + - - @@ -442,9 +441,8 @@ + - - @@ -466,9 +464,8 @@ + - - -- 2.39.5