blob: bf539f57bcef2ad460c520d02b8a8d9354142a41 (
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
123
124
|
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
<!-- AspectJ v1.6.0 Tests -->
<suite>
<ajc-test dir="bugs160/pr201748" title="itd with array">
<compile files="Foo.java">
<message kind="error" text="Type mismatch: cannot convert from Factory[] to Factory"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/various" title="incorrect itd error with generics">
<compile options="-1.5 -showWeaveInfo" files="IncorrectMessage.java">
<message kind="weave" text="Type 'Foo' (IncorrectMessage.java) has intertyped method from 'AspectDoWhatEver' (IncorrectMessage.java:'void Marker.doWhatEver()')"/>
<message kind="weave" text="Type 'Marker' (IncorrectMessage.java) has intertyped method from 'AspectDoWhatEver' (IncorrectMessage.java:'void Marker.doWhatEver()')"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/various" title="incorrect itd error with generics - 2">
<compile options="-1.5 -showWeaveInfo" files="IncorrectMessage2.java">
<message kind="weave" text="Type 'Foo' (IncorrectMessage2.java) has intertyped method from 'AspectDoWhatEver' (IncorrectMessage2.java:'void Marker.doWhatEver()')"/>
<message kind="weave" text="Type 'Marker' (IncorrectMessage2.java) has intertyped method from 'AspectDoWhatEver' (IncorrectMessage2.java:'void Marker.doWhatEver()')"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/various" title="hasmethod anno value - I">
<compile options="-1.5 -XhasMember -showWeaveInfo" files="A.java">
<message kind="weave" text="Extending interface set for type 'B' (A.java) to include 'java.io.Serializable' (A.java)"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/various" title="hasmethod anno value - Z">
<compile options="-1.5 -XhasMember -showWeaveInfo" files="Z.java">
<message kind="weave" text="Extending interface set for type 'B' (Z.java) to include 'java.io.Serializable' (Z.java)"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/various" title="hasmethod semantics">
<compile options="-1.5 -XhasMember -Xlint:ignore" files="HasMethodSemantics.java"/>
<run class="HasMethodSemantics">
<stdout>
<line text="Implements Marker? no"/>
</stdout>
</run>
</ajc-test>
<ajc-test dir="bugs160/pr204505" title="generics method matching - 1">
<compile options="-1.5 -showWeaveInfo" files="Bug.java">
<message kind="weave" text="execution(void C.save(java.lang.Object))"/>
<message kind="weave" text="execution(void C.saveAll(java.util.Collection))"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/pr204505" title="generics method matching - 2">
<compile options="-1.5" files="GenericInterfaceWithGenericArgumentPointcutBug.java"/>
<run class="mypackage.GenericInterfaceWithGenericArgumentPointcutBug"/>
</ajc-test>
<ajc-test dir="bugs160/pr219298" title="bounds check failure">
<compile options="-1.5" files="TestMarkers.java">
<message kind="error" line="11" text="Bound mismatch: The type TestMarkers.SubGenericsType is not a valid substitute for the bounded"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/pr219298" title="bounds check failure - 2">
<compile options="-1.5" files="TestMarkers2.java"/>
</ajc-test>
<ajc-test dir="bugs160/pr218167" title="dec field problem">
<compile options="-1.5" files="Test.java">
<message kind="warning" text="already has an annotation of type A, cannot add a second instance"/>
</compile>
</ajc-test>
<ajc-test dir="bugs160/pr206911" title="generics super itd">
<compile options="-1.5" files="VerifyError.java"/>
<run class="bugs.VerifyError"/>
</ajc-test>
<ajc-test dir="bugs160/pr206911" title="generics super itd - 2">
<compile options="-1.5" files="VerifyError2.java"/>
<run class="bugs.VerifyError2"/>
</ajc-test>
<ajc-test dir="bugs160/pr216311" title="serialization and annotation style">
<compile options="-1.5" files="PersistabilityTest.java,IPersistable.java,Persistability.java"/>
<run class="PersistabilityTest"/>
</ajc-test>
<ajc-test dir="bugs160/pr214559" title="decp repetition problem">
<compile files="X.java"/>
<run class="test.X"/>
</ajc-test>
<ajc-test dir="bugs160/pr214559" title="decp repetition problem - 2">
<compile files="Y.java"/>
<run class="Y"/>
</ajc-test>
<ajc-test dir="bugs160/pr214559" title="decp repetition problem - 3">
<compile files="TestClass.java Interface1.java Interface1TestClass.java DeclareParentsPrecedenceTest.java TestAspect.java"/>
<run class="DeclareParentsPrecedenceTest"/>
</ajc-test>
<ajc-test dir="bugs160/pr209831" title="illegal state exception with annotations">
<compile options="-1.5 -showWeaveInfo" files="Test.java">
<message kind="weave" text="Join point 'exception-handler(void Test.<catch>(java.lang.Throwable))' in Type 'Test' (Test.java:34) advised by before advice from 'ExactAnnotationTypePatternBug' (Test.java:5)"/>
</compile>
<run class="Test"/>
</ajc-test>
<ajc-test dir="bugs160/pr209831" title="illegal state exception with annotations - 2">
<compile options="-Xlint:ignore -1.5 -showWeaveInfo" files="Test2.java"/>
<run class="Test2"/>
</ajc-test>
<ajc-test dir="bugs160/pr211146" title="itd lost generic signature">
<compile options=" -1.5" files="StringAspect.aj,StringClass.java" outjar="foo.jar"/>
<compile options=" -1.5" files="DemoUsage.java" classpath="foo.jar"/>
</ajc-test>
</suite>
|