blob: 7d879705fade04b6a1fe40681e27948cffd594a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
<suite>
<ajc-test dir="bugs165/pr277959" title="verifyerror">
<compile files="AOPTest.java CodeAspect.java" options="-1.5"/>
<run class="example.AOPTest"/>
</ajc-test>
<ajc-test dir="bugs165/pr277508" title="if method names">
<compile files="Basic.java" options="-1.5"/>
<run class="Basic">
<stdout>
<line text="if method: public static final boolean X.ajc$if$1ba()"/>
<line text="if method: public static final boolean X.ajc$if$177()"/>
<line text="if method: public static final boolean X.ajc$if$165()"/>
</stdout>
</run>
</ajc-test>
<ajc-test dir="bugs165/pr277508" title="if method names - 2">
<compile files="Basic2.java" options="-1.5"/>
<run class="Basic2">
<stdout>
<line text="if method: public static final boolean X.ajc$if$16d()"/>
<line text="if method: public static final boolean X.ajc$if$17f()"/>
<line text="if method: public static final boolean X.ajc$if$1c0()"/>
</stdout>
</run>
</ajc-test>
<ajc-test dir="bugs165/pr275625" title="dec anno method">
<compile files="A.java" options="-1.5"/>
</ajc-test>
<ajc-test dir="bugs165/pr275625" title="dec anno field">
<compile files="F.java" options="-1.5"/>
</ajc-test>
<ajc-test dir="bugs165/pr275032" title="itd default ctor">
<compile files="A.java X.java" options="-1.5 -Xlint:ignore"/>
<run class="A">
<stdout>
<line text="itd ctor"/>
</stdout>
</run>
</ajc-test>
<ajc-test dir="bugs165/pr275032/c2" title="itd default ctor - 2">
<compile files="A.java X.java" options="-1.5 -Xlint:ignore">
<message kind="error" text="inter-type declaration from X conflicts with existing"/>
</compile>
</ajc-test>
<ajc-test dir="bugs165/pr275032/c2" title="itd default ctor - 3">
<compile files="A.java" options="-outjar foo.jar"/>
<compile files="X.java" options="-1.5 -Xlint:ignore" inpath="foo.jar">
<message kind="error" text="inter-type declaration from X conflicts with existing"/>
</compile>
</ajc-test>
<ajc-test dir="bugs165/pr275032" title="itd default ctor - 4">
<compile files="A.java" options="-outjar foo.jar"/>
<compile files="X.java" options="-1.5" inpath="foo.jar">
</compile>
<run class="A">
<stdout>
<line text="itd ctor"/>
</stdout>
</run>
</ajc-test>
<ajc-test dir="bugs165/pr272233" title="funky pointcut">
<compile files="Iffy.java" options="-1.5">
<message kind="warning" text="void is not a generic type"/>
</compile>
</ajc-test>
<ajc-test dir="bugs165/pr272233" title="funky pointcut 2">
<compile files="Iffy2.java" options="-1.5 -showWeaveInfo">
<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)"/>
<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:17)"/>
<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:20)"/>
<!-- TODO: Activate 'Iffy2.advice6()' pointcut after pointcut parsing problem has been fixed. -->
<!--<message kind="weave" text="advised by before advice from 'Iffy2' (Iffy2.java:XX)"/>-->
</compile>
</ajc-test>
<ajc-test dir="bugs165/pr265356" title="annotation style message positions">
<compile files="Main.java" options="-1.5">
<message kind="warning" line="11"/>
<message kind="warning" line="13"/>
<message kind="warning" line="14"/>
</compile>
</ajc-test>
<ajc-test dir="bugs165/pr271169" title="around call npe">
<compile files="HypChecksums.java" options="-1.5"/>
</ajc-test>
<ajc-test dir="bugs165/pr273628" title="verifyerror on anno bind">
<compile files="AnnotationAspect.java ApiDescriptor.java AspectTargetClass.java MonitorableMethod.java TestPointcutAnnotationAspect.java" options="-1.5"/>
<run class="p.TestPointcutAnnotationAspect"/>
</ajc-test>
<ajc-test dir="bugs165/pr272825" title="generic ITD">
<compile files="Concrete.java GenericSuper.java ITDOfMethod.aj Main.java" options="-1.5"/>
<run class="Main">
<stdout>
<line text="In normal method"/>
<line text="else"/>
<line text="1"/>
<line text="In ITD method"/>
<line text="with"/>
<line text="2"/>
</stdout>
</run>
</ajc-test>
</suite>
|