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>tags/V1_9_22_1
@@ -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)"/> |