diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2023-01-17 19:56:27 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-04-12 15:32:39 +0200 |
commit | f97f77c030534c870168f490710d9110bea32a02 (patch) | |
tree | c379b22344f6c108c9d3b805b819f130f2127ef5 | |
parent | ed0a8ea17b691489057b670f1b6859e025d6c7c8 (diff) | |
download | aspectj-f97f77c030534c870168f490710d9110bea32a02.tar.gz aspectj-f97f77c030534c870168f490710d9110bea32a02.zip |
Make Ajc165Tests.testFunkyPointcut_pr272233_2 pass
The test needs to expect the lately introduced Xlint:arrayCannotBeVoid
warning to be thrown, because one of the pointcuts in
tests/bugs165/pr272233/Iffy2.java contains a 'void[]' return type in a
method signature.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r-- | tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml index 7d879705f..f48581f87 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml @@ -78,6 +78,7 @@ <ajc-test dir="bugs165/pr272233" title="funky pointcut 2"> <compile files="Iffy2.java" options="-1.5 -showWeaveInfo"> + <message kind="warning" text="arrays cannot have a void type, but found 'void[]' in pointcut [Xlint:arrayCannotBeVoid]"/> <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:8)"/> <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:11)"/> <message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:14)"/> |