blob: 9a1410de4158bad1f98468a97f6df39cc98a7071 (
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">
<suite>
<ajc-test dir="new" pr="774"
title="interface self-reference in anonymous instance (correct test in knownbugs)"
keywords="tofix"
comment="correct behavior for 1.0 is good error message, see real test in knownbugs">
<compile files="AnonymousSelfReference.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="776"
title="self-reference from (aspect-declared) method-local class (correct test in knownbugs)"
keywords="tofix"
comment="correct behavior for 1.0 is good error message, see real test in knownbugs">
<compile files="MethodSelfReference.java">
<message kind="error" line="16"/>
</compile>
</ajc-test>
<ajc-test dir="new" title="expect CE for unterminated declare error"
keywords="tofix">
<compile files="UnterminatedDeclareErrorCE.java">
<message kind="error" line="7"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="expect CE for declaration collision between subaspects instead of domination order"
keywords="tofix">
<compile files="DeclarationCollisionCE.java">
<message kind="error" line="28"/>
</compile>
</ajc-test>
<ajc-test dir="new"
title="subtype pattern in dominates should pick out aspect subtypes"
keywords="tofix">
<compile files="DominatesTypePattern.java"/>
<run class="DominatesTypePattern"/>
</ajc-test>
<ajc-test dir="new"
title="unmatched type name in a declare parents should result in a warning in -Xlint mode"
keywords="tofix">
<compile options="-Xlint" files="MissingTypeInDeclareParents.java">
<message kind="warning" line="20"/>
</compile>
<run class="MissingTypeInDeclareParents"/>
</ajc-test>
<ajc-test dir="new" pr="804"
title="aspect static initializers should run before instance constructed"
keywords="tofix">
<compile files="AspectStaticInit.java"/>
<run class="AspectStaticInit"/>
</ajc-test>
<ajc-test dir="new" pr="827"
title="after returning advice on interface and implementation constructor"
keywords="tofix">
<compile files="AfterReturningConstructor.java"/>
<run class="AfterReturningConstructor"/>
</ajc-test>
<ajc-test dir="new" pr="832"
title="after throwing advice with non-throwable formal"
keywords="tofix">
<compile files="AfterThrowingNonThrowable.java"/>
<run class="AfterThrowingNonThrowable"/>
</ajc-test>
<ajc-test dir="new" pr="829" title="declare array field using postfix"
keywords="tofix">
<compile files="ArrayFieldDeclaration.java"/>
<run class="ArrayFieldDeclaration"/>
</ajc-test>
<ajc-test dir="new" pr="838"
title="checking around join point for advice return type - numeric"
keywords="tofix" comment="may need to fix error line when bug is fixed">
<compile files="AroundNumericCastCE.java">
<message kind="error" line="17"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="836" title="void around advice without proceed"
keywords="tofix">
<compile files="VoidAround.java"/>
<run class="VoidAround"/>
</ajc-test>
<ajc-test dir="new" pr="851"
title="prohibit declaring new aspect constructor with arguments">
<compile files="DeclareAspectConstructorCE.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="851"
title="prohibit declaring only aspect constructor with arguments">
<compile files="DeclareOnlyAspectConstructorCE.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new/PR852" pr="852"
title="declaring method on superclass and subclass">
<compile files="aspect/Aspect.java,target/SubClass.java,target/SuperClass.java">
<dir-changes added="target.SubClass,target.SuperClass"/>
</compile>
<run class="aspect.Aspect"/>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare class extends interface">
<compile files="DeclareClassExtendsInterface.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare class implements class">
<compile files="DeclareClassImplementsClass.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new" pr="853"
title="declare interface implements interface">
<compile files="DeclareInterfaceImplementsInterface.java">
<message kind="error" line="10"/>
</compile>
</ajc-test>
<ajc-test dir="new/PR862" pr="862"
title="import any inner from interface implementor"
keywords="purejava">
<compile files="pack/ImportInnerFromInterfaceImplementor.java">
<dir-changes added="pack.ImportInnerFromInterfaceImplementor"/>
</compile>
<run class="pack.ImportInnerFromInterfaceImplementor"/>
</ajc-test>
<ajc-test dir="new"
title="if and cflow arg binding">
<compile files="CflowBinding.java">
<message kind="error" line="13"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="902"
title="circularity in declare dominates">
<compile files="CircularDominates.java">
<message kind="error" line="18"/>
</compile>
</ajc-test>
<ajc-test dir="bugs" pr="906"
title="privileged access to code outside the control of the compiler">
<compile files="PrivilegeBeyondScope.java">
<message kind="error" line="21"/>
</compile>
<run class="PrivilegeBeyondScope"/>
</ajc-test>
</suite>
|