You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ajc1919.xml 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
  2. <!--
  3. Java 19: no new final language features, only preview/incubator ones:
  4. - "JEP 427: Pattern Matching for switch (Third Preview)" (syntax change, introducing 'when')
  5. - "JEP 405: Record Patterns (Preview)"
  6. - "JEP 425: Virtual Threads (Preview)" (API only)
  7. - "JEP 428: Structured Concurrency (Incubator)" (API only)
  8. -->
  9. <suite>
  10. <!-- Java ?? final, Java 17, 18, 19 preview -->
  11. <ajc-test dir="features1919/java19" vm="19" title="switch pattern matching preview 3 java">
  12. <compile files="SwitchPatternPreview3OK.java" options="--enable-preview -19" />
  13. <run class="SwitchPatternPreview3OK" vmargs="--enable-preview">
  14. <message></message>
  15. <stdout>
  16. <line text="null" />
  17. <line text="int 123" />
  18. <line text="long 999" />
  19. <line text="double 12.340000" />
  20. <line text="String foo" />
  21. <line text="[123, foo, 999, 12.34]" />
  22. <line text="Non-circle" />
  23. <line text="Small circle" />
  24. <line text="Large circle" />
  25. <line text="Sealed sub-class A" />
  26. <line text="Sealed sub-class B" />
  27. <line text="Sealed sub-record C" />
  28. <line text="absolute value 1: -1" />
  29. <line text="other integer: 0" />
  30. <line text="positive integer: 42" />
  31. <line text="other integer: -99" />
  32. <line text="positive integer: 123" />
  33. <line text="value unavailable: null" />
  34. </stdout>
  35. </run>
  36. </ajc-test>
  37. <!-- Java ?? final, Java 17, 18, 19 preview -->
  38. <ajc-test dir="features1919/java19" vm="19" title="switch pattern matching preview 3 aspect">
  39. <compile files="SwitchPatternPreview3Aspect.aj" options="--enable-preview -19" />
  40. <run class="Application" vmargs="--enable-preview">
  41. <stdout>
  42. <line text="null" />
  43. <line text="int 123" />
  44. <line text="long 999" />
  45. <line text="double 12.340000" />
  46. <line text="String foo" />
  47. <line text="[123, foo, 999, 12.34]" />
  48. <line text="Non-circle" />
  49. <line text="Small circle" />
  50. <line text="Large circle" />
  51. <line text="Sealed sub-class A" />
  52. <line text="Sealed sub-class B" />
  53. <line text="Sealed sub-record C" />
  54. <line text="absolute value 1: -1" />
  55. <line text="other integer: 0" />
  56. <line text="positive integer: 42" />
  57. <line text="other integer: -99" />
  58. <line text="positive integer: 123" />
  59. <line text="value unavailable: null" />
  60. </stdout>
  61. </run>
  62. </ajc-test>
  63. <!-- Java ?? final, Java 17, 18, 19 preview -->
  64. <ajc-test dir="features198/java17" vm="19" title="switch pattern matching error">
  65. <compile files="SwitchPatternError.java" options="--enable-preview -19">
  66. <!-- TODO: Add correct compiler error message, as soon as JDT Core supports it -->
  67. <message kind="error" file="SwitchPatternError.java" text="This case label is dominated by one of the preceding case label"/>
  68. </compile>
  69. </ajc-test>
  70. <!-- Java ?? final, Java 17, 18, 19 preview -->
  71. <ajc-test dir="features1919/java19" vm="19" title="switch pattern matching preview 3 error 1">
  72. <compile files="SwitchPatternPreview3Error1.java" options="--enable-preview -19">
  73. <!-- TODO: Add correct compiler error message, as soon as JDT Core supports it -->
  74. <message kind="error" file="SwitchPatternPreview3Error1.java" text="This case label is dominated by one of the preceding case label"/>
  75. </compile>
  76. </ajc-test>
  77. <!-- Java ?? final, Java 17, 18, 19 preview -->
  78. <ajc-test dir="features1919/java19" vm="19" title="switch pattern matching preview 3 error 2">
  79. <compile files="SwitchPatternPreview3Error2.java" options="--enable-preview -19">
  80. <!-- TODO: Add correct compiler error message, as soon as JDT Core supports it -->
  81. <message kind="error" file="SwitchPatternPreview3Error2.java" text="This case label is dominated by one of the preceding case label"/>
  82. </compile>
  83. </ajc-test>
  84. <!-- Java ?? final, Java 19 preview -->
  85. <ajc-test dir="features1919/java19" vm="19" title="record patterns">
  86. <compile files="RecordPatternsPreview1OK.java" options="--enable-preview -19"/>
  87. </ajc-test>
  88. <!-- Java ?? final, Java 19 preview -->
  89. <ajc-test dir="features1919/java19" vm="19" title="record patterns error">
  90. <compile files="RecordPatternsPreview1Error.java" options="--enable-preview -19">
  91. <message kind="error" file="RecordPatternsPreview1Error.java" text="Raw types are not allowed in record patterns"/>
  92. <message kind="error" file="RecordPatternsPreview1Error.java" text="Raw types are not allowed in record patterns"/>
  93. </compile>
  94. </ajc-test>
  95. <!-- Java ?? final, Java 19 preview -->
  96. <ajc-test dir="features1919/java19" vm="19" title="record patterns exhaustiveness 1">
  97. <compile files="RecordPatternsPreview1ExhaustivenessOK1.java" options="--enable-preview -19"/>
  98. <run class="RecordPatternsPreview1ExhaustivenessOK1" vmargs="--enable-preview">
  99. <stdout>
  100. <line text="y"/>
  101. <line text="a"/>
  102. </stdout>
  103. </run>
  104. </ajc-test>
  105. <!-- Java ?? final, Java 19 preview -->
  106. <ajc-test dir="features1919/java19" vm="19" title="record patterns exhaustiveness aspect">
  107. <compile files="RecordPatternsPreview1ExhaustivenessAspect.aj" options="--enable-preview -19"/>
  108. <!--
  109. TODO: Remove redundant default clause when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/455
  110. has been fixed. But even with the default clause, it generates wrong byte code and throws runtime error:
  111. NoSuchMethodError: 'I Pair.x()'
  112. -->
  113. <!--run class="RecordPatternsPreview1ExhaustivenessAspect" vmargs="-XXX-enable-preview">
  114. <stdout>
  115. <line text="y"/>
  116. <line text="a"/>
  117. <line text="Pair[x=C@000, y=D@000]"/>
  118. </stdout>
  119. </run-->
  120. </ajc-test>
  121. <!-- Java ?? final, Java 19 preview -->
  122. <ajc-test dir="features1919/java19" vm="19" title="record patterns aspect">
  123. <compile files="RecordPatternsPreview1Aspect.aj" options="--enable-preview -19"/>
  124. <run class="RecordPatternsPreview1Aspect" vmargs="--enable-preview">
  125. <stdout>
  126. <line text="9"/>
  127. <line text="14"/>
  128. <line text="Doing something with Point[x=2, y=7]"/>
  129. <line text="Upper-left color: RED"/>
  130. <line text="Upper-left color: RED"/>
  131. <line text="Upper-left x coordinate: 1"/>
  132. <line text="Doing something with Rectangle[upperLeft=ColoredPoint[p=Point[x=1, y=6], c=RED], lowerRight=ColoredPoint[p=Point[x=4, y=6], c=BLUE]]"/>
  133. </stdout>
  134. </run>
  135. </ajc-test>
  136. <!-- Java ?? final, Java 19 preview -->
  137. <ajc-test dir="features1919/java19" vm="19" title="record patterns exhaustiveness error">
  138. <compile files="RecordPatternsPreview1ExhaustivenessError.java" options="--enable-preview -19">
  139. <message kind="error" file="RecordPatternsPreview1ExhaustivenessError.java" text="An enhanced switch statement should be exhaustive; a default label expected"/>
  140. </compile>
  141. </ajc-test>
  142. <!-- Java ?? final, Java 19 preview -->
  143. <ajc-test dir="features1919/java19" vm="19" title="record patterns exhaustiveness 2">
  144. <compile files="RecordPatternsPreview1ExhaustivenessOK2.java" options="--enable-preview -19"/>
  145. <run class="RecordPatternsPreview1ExhaustivenessOK2" vmargs="--enable-preview">
  146. <stdout>
  147. <line text="Bob 12"/>
  148. </stdout>
  149. </run>
  150. </ajc-test>
  151. <!-- Weaver error when declaring annotation with SOURCE retention, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=366085 -->
  152. <ajc-test dir="bugs1919/366085" vm="1.5" title="declare annotation with SOURCE retention">
  153. <compile files="Application.java DeclareAnnotationsAspect.aj ToString.java Marker.java" options="-1.5 -showWeaveInfo">
  154. <message kind="weave" text="'Application' (Application.java:1) is annotated with @Marker type annotation from 'DeclareAnnotationsAspect'"/>
  155. <message kind="weave" text="'public void Application.new(int)' (Application.java:4) is annotated with @Marker constructor annotation from 'DeclareAnnotationsAspect'"/>
  156. <message kind="weave" text="'public int Application.getNumber()' (Application.java:8) is annotated with @Marker method annotation from 'DeclareAnnotationsAspect'"/>
  157. <message kind="weave" text="'public int number' of type 'Application' (Application.java) is annotated with @Marker field annotation from 'DeclareAnnotationsAspect'"/>
  158. </compile>
  159. </ajc-test>
  160. <!-- RuntimeException in BcelWeaver, see https://github.com/eclipse/org.aspectj/issues/190 -->
  161. <ajc-test dir="bugs1919/github_190" vm="1.5" title="switch with Integer.MAX_VALUE case">
  162. <compile files="SwitchCaseWith_Integer_MAX_VALUE.java" options="-1.5 -showWeaveInfo">
  163. <message kind="weave" text="Join point 'method-execution(java.lang.String SwitchCaseWith_Integer_MAX_VALUE.switchTest(int))'"/>
  164. </compile>
  165. <run class="SwitchCaseWith_Integer_MAX_VALUE">
  166. <stdout>
  167. <line text="execution(String SwitchCaseWith_Integer_MAX_VALUE.switchTest(int))"/>
  168. <line text="CASE_1"/>
  169. </stdout>
  170. </run>
  171. </ajc-test>
  172. <!--
  173. 'Syntax error, insert "Expression" to complete Expression' when compiling parenthesised expressions
  174. containing AspectJ keywords, e.g. '(before)', see https://github.com/eclipse/org.aspectj/issues/20
  175. -->
  176. <ajc-test dir="bugs1919/github_20" vm="1.5" title="parenthesised expression with AspectJ keyword">
  177. <compile files="ParenthesisedAJKeywords.java" options="-1.5 -showWeaveInfo"/>
  178. <run class="ParenthesisedAJKeywords">
  179. <stdout>
  180. <line text="before"/>
  181. <line text="after"/>
  182. <line text="around"/>
  183. <line text="aspect"/>
  184. <line text="pointcut"/>
  185. <line text="declare"/>
  186. <line text="privileged"/>
  187. </stdout>
  188. </run>
  189. </ajc-test>
  190. <!--
  191. 'inner aspects must be static' when compiling an interface with an inner aspect which was not explicitly declared
  192. static, see https://github.com/eclipse/org.aspectj/issues/162
  193. -->
  194. <ajc-test dir="bugs1919/github_162" vm="1.5" title="inner aspect of interface is implicitly static">
  195. <compile files="InterfaceWithInnerClass.java" options="-1.5 -showWeaveInfo">
  196. <message kind="weave" text="method-execution(int InterfaceWithInnerClass$ImplicitlyStatic.getNumber())' in Type 'InterfaceWithInnerClass$ImplicitlyStatic'"/>
  197. <message kind="weave" text="method-execution(void InterfaceWithInnerClass$ImplicitlyStatic.main(java.lang.String[]))' in Type 'InterfaceWithInnerClass$ImplicitlyStatic'"/>
  198. </compile>
  199. <run class="InterfaceWithInnerClass$ImplicitlyStatic">
  200. <stdout>
  201. <line text="execution(void InterfaceWithInnerClass.ImplicitlyStatic.main(String[]))"/>
  202. <line text="execution(int InterfaceWithInnerClass.ImplicitlyStatic.getNumber())"/>
  203. <line text="11"/>
  204. </stdout>
  205. </run>
  206. </ajc-test>
  207. <!--
  208. When compiling aspect and target class together, matching works as expected,
  209. see https://github.com/eclipse/org.aspectj/issues/24
  210. -->
  211. <ajc-test dir="bugs1919/github_24" vm="1.5" title="exact array type matching, aspect compiled together with target class">
  212. <compile files="ExactlyMatchingAspect.aj MaybeMissingClass.java" options="-1.5 -showWeaveInfo">
  213. <!-- Even before the bugfix, in this case weaving worked as expected -->
  214. <message kind="weave" text="method-execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  215. <message kind="weave" text="method-execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  216. <message kind="weave" text="method-execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  217. <message kind="weave" text="method-execution(int MaybeMissingClass.f4())"/>
  218. <message kind="weave" text="method-execution(int[] MaybeMissingClass.f5())"/>
  219. <message kind="weave" text="method-execution(int[][] MaybeMissingClass.f6())"/>
  220. </compile>
  221. <run class="MaybeMissingClass">
  222. <stdout>
  223. <line text="MaybeMissingClass.f1"/>
  224. <line text="execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  225. <line text="MaybeMissingClass.f2"/>
  226. <line text="execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  227. <line text="MaybeMissingClass.f3"/>
  228. <line text="execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  229. <line text="MaybeMissingClass.f4"/>
  230. <line text="execution(int MaybeMissingClass.f4())"/>
  231. <line text="MaybeMissingClass.f5"/>
  232. <line text="execution(int[] MaybeMissingClass.f5())"/>
  233. <line text="MaybeMissingClass.f6"/>
  234. <line text="execution(int[][] MaybeMissingClass.f6())"/>
  235. </stdout>
  236. </run>
  237. </ajc-test>
  238. <!--
  239. When compiling aspect and target class separately, too many joinpoints are matched,
  240. see https://github.com/eclipse/org.aspectj/issues/24
  241. -->
  242. <ajc-test dir="bugs1919/github_24" vm="1.5" title="exact array type matching, aspect compiled separately from target class">
  243. <compile files="ExactlyMatchingAspect.aj" options="-1.5 -showWeaveInfo" outjar="aspect.jar">
  244. <message kind="warning" text="no match for this type name: MaybeMissingClass [Xlint:invalidAbsoluteTypeName]"/>
  245. <message kind="warning" text="advice defined in ExactlyMatchingAspect has not been applied [Xlint:adviceDidNotMatch]"/>
  246. </compile>
  247. <compile files="MaybeMissingClass.java" options="-1.5 -showWeaveInfo" aspectpath="aspect.jar">
  248. <!-- Before the bugfix, f1 would be woven twice, f2 not at all-->
  249. <message kind="weave" text="method-execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  250. <message kind="weave" text="method-execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  251. <message kind="weave" text="method-execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  252. <message kind="weave" text="method-execution(int MaybeMissingClass.f4())"/>
  253. <message kind="weave" text="method-execution(int[] MaybeMissingClass.f5())"/>
  254. <message kind="weave" text="method-execution(int[][] MaybeMissingClass.f6())"/>
  255. </compile>
  256. <run class="MaybeMissingClass" classpath="aspect.jar">
  257. <stdout>
  258. <line text="MaybeMissingClass.f1"/>
  259. <line text="execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  260. <line text="MaybeMissingClass.f2"/>
  261. <line text="execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  262. <line text="MaybeMissingClass.f3"/>
  263. <line text="execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  264. <line text="MaybeMissingClass.f4"/>
  265. <line text="execution(int MaybeMissingClass.f4())"/>
  266. <line text="MaybeMissingClass.f5"/>
  267. <line text="execution(int[] MaybeMissingClass.f5())"/>
  268. <line text="MaybeMissingClass.f6"/>
  269. <line text="execution(int[][] MaybeMissingClass.f6())"/>
  270. </stdout>
  271. </run>
  272. </ajc-test>
  273. <!--
  274. When compiling aspect and target class together, too many joinpoints are matched,
  275. see https://github.com/eclipse/org.aspectj/issues/24
  276. -->
  277. <ajc-test dir="bugs1919/github_24" vm="1.5" title="fuzzy array type matching, aspect compiled together with target class">
  278. <compile files="FuzzilyMatchingAspect.aj MaybeMissingClass.java" options="-1.5 -showWeaveInfo">
  279. <!-- Before the bugfix, both f1 and f2 would be woven twice -->
  280. <message kind="weave" text="method-execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  281. <message kind="weave" text="method-execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  282. <message kind="weave" text="method-execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  283. <message kind="weave" text="method-execution(int MaybeMissingClass.f4())"/>
  284. <message kind="weave" text="method-execution(int[] MaybeMissingClass.f5())"/>
  285. <message kind="weave" text="method-execution(int[][] MaybeMissingClass.f6())"/>
  286. </compile>
  287. <run class="MaybeMissingClass">
  288. <stdout>
  289. <line text="MaybeMissingClass.f1"/>
  290. <line text="execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  291. <line text="MaybeMissingClass.f2"/>
  292. <line text="execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  293. <line text="MaybeMissingClass.f3"/>
  294. <line text="execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  295. <line text="MaybeMissingClass.f4"/>
  296. <line text="execution(int MaybeMissingClass.f4())"/>
  297. <line text="MaybeMissingClass.f5"/>
  298. <line text="execution(int[] MaybeMissingClass.f5())"/>
  299. <line text="MaybeMissingClass.f6"/>
  300. <line text="execution(int[][] MaybeMissingClass.f6())"/>
  301. </stdout>
  302. </run>
  303. </ajc-test>
  304. <!--
  305. When compiling aspect and target class separately, too many joinpoints are matched,
  306. see https://github.com/eclipse/org.aspectj/issues/24
  307. -->
  308. <ajc-test dir="bugs1919/github_24" vm="1.5" title="fuzzy array type matching, aspect compiled separately from target class">
  309. <compile files="FuzzilyMatchingAspect.aj" options="-1.5 -showWeaveInfo" outjar="aspect.jar">
  310. <message kind="warning" text="advice defined in FuzzilyMatchingAspect has not been applied [Xlint:adviceDidNotMatch]"/>
  311. </compile>
  312. <compile files="MaybeMissingClass.java" options="-1.5 -showWeaveInfo" aspectpath="aspect.jar">
  313. <!-- Before the bugfix, both f1 and f2 would be woven twice -->
  314. <message kind="weave" text="method-execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  315. <message kind="weave" text="method-execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  316. <message kind="weave" text="method-execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  317. <message kind="weave" text="method-execution(int MaybeMissingClass.f4())"/>
  318. <message kind="weave" text="method-execution(int[] MaybeMissingClass.f5())"/>
  319. <message kind="weave" text="method-execution(int[][] MaybeMissingClass.f6())"/>
  320. </compile>
  321. <run class="MaybeMissingClass" classpath="aspect.jar">
  322. <stdout>
  323. <line text="MaybeMissingClass.f1"/>
  324. <line text="execution(MaybeMissingClass MaybeMissingClass.f1())"/>
  325. <line text="MaybeMissingClass.f2"/>
  326. <line text="execution(MaybeMissingClass[] MaybeMissingClass.f2())"/>
  327. <line text="MaybeMissingClass.f3"/>
  328. <line text="execution(MaybeMissingClass[][] MaybeMissingClass.f3())"/>
  329. <line text="MaybeMissingClass.f4"/>
  330. <line text="execution(int MaybeMissingClass.f4())"/>
  331. <line text="MaybeMissingClass.f5"/>
  332. <line text="execution(int[] MaybeMissingClass.f5())"/>
  333. <line text="MaybeMissingClass.f6"/>
  334. <line text="execution(int[][] MaybeMissingClass.f6())"/>
  335. </stdout>
  336. </run>
  337. </ajc-test>
  338. <!--
  339. https://github.com/eclipse/org.aspectj/issues/214
  340. https://github.com/mojohaus/aspectj-maven-plugin/issues/164
  341. Problem with multiple, subsequent weaving steps and '-Xlint:warning' or '-Xlint:unorderedAdviceAtShadow=warning'
  342. java.lang.ArrayIndexOutOfBoundsException: 1
  343. [ERROR] at org.aspectj.weaver.bcel.BcelShadow.prepareForMungers(BcelShadow.java:379)
  344. [ERROR] at org.aspectj.weaver.Shadow.implement(Shadow.java:546)
  345. -->
  346. <ajc-test dir="bugs1919/github_214" vm="1.5" title="ArrayIndexOutOfBoundsException with Xlint unorderedAdviceAtShadow=warning">
  347. <compile files="FirstAspect.java MarkerOne.java" options="-1.8 -showWeaveInfo -Xlint:warning" outjar="first-aspect.jar">
  348. <message kind="warning" text="can not build thisJoinPoint lazily for this advice since it has no suitable guard [Xlint:noGuardForLazyTjp]"/>
  349. <message kind="warning" text="advice defined in FirstAspect has not been applied [Xlint:adviceDidNotMatch]"/>
  350. </compile>
  351. <compile files="Application.java MarkerTwo.java" options="-1.5 -showWeaveInfo -Xlint:warning" classpath="first-aspect.jar" outjar="application.jar"/>
  352. <compile files="SecondAspect.java" options="-1.5 -showWeaveInfo -Xlint:warning" aspectpath="first-aspect.jar" inpath="application.jar" outjar="second-aspect.jar">
  353. <message kind="warning" text="can not build thisJoinPoint lazily for this advice since it has no suitable guard [Xlint:noGuardForLazyTjp]"/>
  354. <message kind="warning" text="at this shadow method-execution(void Application.greet(java.lang.String)) no precedence is specified between advice applying from aspect FirstAspect and aspect SecondAspect [Xlint:unorderedAdviceAtShadow]"/>
  355. <message kind="warning" text="can not implement lazyTjp at joinpoint method-execution(void Application.greet(java.lang.String)) because of advice conflicts, see secondary locations to find conflicting advice [Xlint:multipleAdviceStoppingLazyTjp]"/>
  356. <message kind="weave" text="method-execution(void Application.greet(java.lang.String))' in Type 'Application' (Application.java:4) advised by around advice from 'SecondAspect'"/>
  357. <message kind="weave" text="method-execution(void Application.greet(java.lang.String))' in Type 'Application' (Application.java:4) advised by before advice from 'FirstAspect'"/>
  358. </compile>
  359. <run class="Application" classpath="second-aspect.jar first-aspect.jar">
  360. <stdout>
  361. <line text="Hello world!"/>
  362. </stdout>
  363. </run>
  364. </ajc-test>
  365. </suite>