Skip to content

Commit f97f77c

Browse files
committed
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 <[email protected]>
1 parent ed0a8ea commit f97f77c

File tree

1 file changed

+1
-0
lines changed
  • tests/src/test/resources/org/aspectj/systemtest/ajc165

1 file changed

+1
-0
lines changed

tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878

7979
<ajc-test dir="bugs165/pr272233" title="funky pointcut 2">
8080
<compile files="Iffy2.java" options="-1.5 -showWeaveInfo">
81+
<message kind="warning" text="arrays cannot have a void type, but found 'void[]' in pointcut [Xlint:arrayCannotBeVoid]"/>
8182
<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:8)"/>
8283
<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:11)"/>
8384
<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:14)"/>

0 commit comments

Comments
 (0)