diff options
author | aclement <aclement> | 2006-08-23 10:18:27 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-23 10:18:27 +0000 |
commit | 1bad6cdfa2a530b74c30bb0d8122bead03413670 (patch) | |
tree | b21fabe35432d3b2fba72d4bab8d7b52c9af4af2 /tests/ltw | |
parent | 945a257776a5879251ccb1b90cf24fd1d89bcfe6 (diff) | |
download | aspectj-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/ltw')
-rw-r--r-- | tests/ltw/Aspect3.aj | 5 | ||||
-rw-r--r-- | tests/ltw/Xlint-nomatch.properties | 2 |
2 files changed, 6 insertions, 1 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 |