diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-08-23 10:13:02 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-08-23 10:39:24 +0700 |
commit | 9a16240a2cf62eb594de05b6cbffe9a36d3d9e19 (patch) | |
tree | 1cbd98ceee1cfc37a8a017334700473b772a155c /tests/src/test/resources/org/aspectj | |
parent | 73e86eb9dc6825e8d8bade57a04e0e5289d78f8a (diff) | |
download | aspectj-9a16240a2cf62eb594de05b6cbffe9a36d3d9e19.tar.gz aspectj-9a16240a2cf62eb594de05b6cbffe9a36d3d9e19.zip |
ajc162.xml: Fix test failing after previous bugfix
A change made to ajc162.xml in commit 43cb1e2f has been reverted
and improved after the recent negated type pattern fix. Relates to #257.
The pointcut 'call(!void *.*(..)) && this(src) && target(dst)' actually
does match method call 'payloadClass.getPayload()' within the
around-advice in GenericClassInAdvice itself.
Improvement: Activate '-showWeaveInfo' and verify weaving message.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/resources/org/aspectj')
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc162/ajc162.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc162/ajc162.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc162/ajc162.xml index d63e5002f..698fc0390 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc162/ajc162.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc162/ajc162.xml @@ -251,8 +251,8 @@ </ajc-test> <ajc-test dir="bugs162/pr240693" title="privileged generics"> - <compile files="PayloadClass.java SomeInterface.java GenericClassInAdvice.java" options="-1.5"> - <message kind="warning" text="advice defined in GenericClassInAdvice has not been applied [Xlint:adviceDidNotMatch]"/> + <compile files="PayloadClass.java SomeInterface.java GenericClassInAdvice.java" options="-1.5 -showWeaveInfo"> + <message kind="weave" text="'method-call(java.lang.Object PayloadClass.getPayload())' in Type 'GenericClassInAdvice'"/> </compile> </ajc-test> |