Browse Source

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>
pull/220/head
Alexander Kriegisch 1 year ago
parent
commit
f97f77c030
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml

+ 1
- 0
tests/src/test/resources/org/aspectj/systemtest/ajc165/ajc165.xml View File

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

Loading…
Cancel
Save