blob: 7153731a36627199af012f187e4549844ac138c1 [file] [log] [blame]
Orion Hodson11d114e2021-06-10 16:27:44 +01001<?xml version="1.0" encoding="UTF-8"?>
Nikita Iashchenko1783bef2021-12-08 21:41:44 +00002<issues format="6" by="lint 7.2.0-dev" type="baseline" client="" dependencies="true" name="" variant="all" version="7.2.0-dev">
Miguel23f47732022-01-18 15:45:32 +00003<!-- generated by libcore/tools/update-lint-baseline/update-lint-baseline.sh -->
Pete Bentleyd10becf2021-10-21 20:53:16 +01004
Orion Hodson11d114e2021-06-10 16:27:44 +01005 <issue
6 id="NewApi"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +00007 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
8 errorLine1="final class ArrayElementVarHandle extends VarHandle {"
9 errorLine2=" ~~~~~~~~~">
10 <location
11 file="libcore/libart/src/main/java/java/lang/invoke/ArrayElementVarHandle.java"
12 line="26"
13 column="43"/>
14 </issue>
15
16 <issue
17 id="NewApi"
Orion Hodson83b141e2021-11-30 13:32:38 +000018 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
19 errorLine1=" new BigDecimal(BigInteger.TWO, 2, 0, 1),"
20 errorLine2=" ~~~~~~~~~~~~~~">
21 <location
22 file="libcore/ojluni/src/main/java/java/math/BigDecimal.java"
23 line="296"
24 column="24"/>
25 </issue>
26
27 <issue
28 id="NewApi"
29 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
30 errorLine1=" rb = BigInteger.TWO.pow(exponent).multiply(compactVal);"
31 errorLine2=" ~~~~~~~~~~~~~~">
32 <location
33 file="libcore/ojluni/src/main/java/java/math/BigDecimal.java"
34 line="956"
35 column="22"/>
36 </issue>
37
38 <issue
39 id="NewApi"
40 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
41 errorLine1=" return TWO;"
42 errorLine2=" ~~~">
43 <location
44 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
45 line="865"
46 column="20"/>
47 </issue>
48
49 <issue
50 id="NewApi"
51 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
52 errorLine1=" result = result.add(TWO);"
53 errorLine2=" ~~~">
54 <location
55 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
56 line="883"
57 column="45"/>
58 </issue>
59
60 <issue
61 id="NewApi"
62 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
63 errorLine1=" result = result.add(TWO);"
64 errorLine2=" ~~~">
65 <location
66 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
67 line="896"
68 column="37"/>
69 </issue>
70
71 <issue
72 id="NewApi"
73 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
74 errorLine1=" z = z.modPow(TWO, this);"
75 errorLine2=" ~~~">
76 <location
77 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
78 line="1113"
79 column="30"/>
80 </issue>
81
82 <issue
83 id="NewApi"
84 message="Field requires API level 33 (current min is 31): `java.math.BigInteger#TWO`"
85 errorLine1=" if (w.equals(TWO))"
86 errorLine2=" ~~~">
87 <location
88 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
89 line="3846"
90 column="22"/>
91 </issue>
92
93 <issue
94 id="NewApi"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +000095 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
96 errorLine1="final class ByteArrayViewVarHandle extends VarHandle {"
97 errorLine2=" ~~~~~~~~~">
98 <location
99 file="libcore/libart/src/main/java/java/lang/invoke/ByteArrayViewVarHandle.java"
100 line="25"
101 column="44"/>
102 </issue>
103
104 <issue
105 id="NewApi"
106 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
107 errorLine1="final class ByteBufferViewVarHandle extends VarHandle {"
108 errorLine2=" ~~~~~~~~~">
109 <location
110 file="libcore/libart/src/main/java/java/lang/invoke/ByteBufferViewVarHandle.java"
111 line="26"
112 column="45"/>
113 </issue>
114
115 <issue
116 id="NewApi"
Nikita Iashchenko1783bef2021-12-08 21:41:44 +0000117 message="Class requires API level 33 (current min is 31): `java.lang.ref.Cleaner.Cleanable`"
118 errorLine1=" Cleanable ref = (Cleanable) queue.remove(60 * 1000L);"
119 errorLine2=" ~~~~~~~~~">
120 <location
121 file="libcore/ojluni/src/main/java/jdk/internal/ref/CleanerImpl.java"
122 line="152"
123 column="34"/>
124 </issue>
125
126 <issue
127 id="NewApi"
Miguel23f47732022-01-18 15:45:32 +0000128 message="Class requires API level 33 (current min is 31): `java.security.spec.NamedParameterSpec`"
129 errorLine1="public class ECGenParameterSpec extends NamedParameterSpec {"
130 errorLine2=" ~~~~~~~~~~~~~~~~~~">
131 <location
132 file="libcore/ojluni/src/main/java/java/security/spec/ECGenParameterSpec.java"
133 line="37"
134 column="41"/>
135 </issue>
136
137 <issue
138 id="NewApi"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000139 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
140 errorLine1="class FieldVarHandle extends VarHandle {"
141 errorLine2=" ~~~~~~~~~">
142 <location
143 file="libcore/libart/src/main/java/java/lang/invoke/FieldVarHandle.java"
144 line="26"
145 column="30"/>
146 </issue>
147
148 <issue
149 id="NewApi"
150 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
Orion Hodson83b141e2021-11-30 13:32:38 +0000151 errorLine1=" || VarHandle.class.isAssignableFrom(declaringClass))) {"
152 errorLine2=" ~~~~~~~~~">
153 <location
154 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandleImpl.java"
155 line="165"
156 column="36"/>
157 </issue>
158
159 <issue
160 id="NewApi"
161 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000162 errorLine1=" } else if (refc == VarHandle.class) {"
163 errorLine2=" ~~~~~~~~~">
164 <location
165 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandles.java"
Orion Hodson83b141e2021-11-30 13:32:38 +0000166 line="949"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000167 column="32"/>
168 </issue>
169
170 <issue
171 id="NewApi"
172 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
173 errorLine1=" Class&lt;?> refc = VarHandle.class;"
174 errorLine2=" ~~~~~~~~~">
175 <location
176 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandles.java"
Orion Hodson83b141e2021-11-30 13:32:38 +0000177 line="2519"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000178 column="25"/>
179 </issue>
180
181 <issue
182 id="NewApi"
183 message="Class requires API level 33 (current min is 31): `java.lang.invoke.VarHandle`"
184 errorLine1=" MethodType methodType = type.insertParameterTypes(0, VarHandle.class);"
185 errorLine2=" ~~~~~~~~~">
186 <location
187 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandles.java"
Orion Hodson83b141e2021-11-30 13:32:38 +0000188 line="2526"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000189 column="62"/>
190 </issue>
191
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000192 <issue
193 id="NewApi"
Nikita Iashchenko1783bef2021-12-08 21:41:44 +0000194 message="Class requires API level 33 (current min is 31): `java.lang.ref.Cleaner.Cleanable`"
195 errorLine1=" implements Cleaner.Cleanable {"
196 errorLine2=" ~~~~~~~~~~~~~~~~~">
197 <location
198 file="libcore/ojluni/src/main/java/jdk/internal/ref/PhantomCleanable.java"
199 line="44"
200 column="20"/>
201 </issue>
202
203 <issue
204 id="NewApi"
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000205 message="Class requires API level 33 (current min is 31): `java.security.cert.URICertStoreParameters`"
206 errorLine1=" if (p == null || (!(p instanceof URICertStoreParameters))) {"
207 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
208 <location
209 file="libcore/ojluni/src/main/java/java/security/cert/URICertStoreParameters.java"
210 line="127"
211 column="42"/>
212 </issue>
213
214 <issue
215 id="NewApi"
216 message="Class requires API level 33 (current min is 31): `java.security.cert.URICertStoreParameters`"
217 errorLine1=" URICertStoreParameters other = (URICertStoreParameters)p;"
218 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
219 <location
220 file="libcore/ojluni/src/main/java/java/security/cert/URICertStoreParameters.java"
221 line="135"
222 column="41"/>
223 </issue>
224
Martin Stjernholm8e9a42d2021-11-08 18:52:17 +0000225 <!-- TODO(b/205570605): The following repeats all the issues above, but with
226 required API level 32 instead of 33 in the messages. This happens in
227 unbundled Mainline builds, e.g.
228 m TARGET_PRODUCT=mainline_modules_arm TARGET_BUILD_APPS=com.android.art TARGET_BUILD_UNBUNDLED=true lint-check
229 -->
230
231 <issue
232 id="NewApi"
Orion Hodson11d114e2021-06-10 16:27:44 +0100233 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
234 errorLine1="final class ArrayElementVarHandle extends VarHandle {"
235 errorLine2=" ~~~~~~~~~">
236 <location
237 file="libcore/libart/src/main/java/java/lang/invoke/ArrayElementVarHandle.java"
Pete Bentleyd10becf2021-10-21 20:53:16 +0100238 line="26"
Orion Hodson11d114e2021-06-10 16:27:44 +0100239 column="43"/>
240 </issue>
241
242 <issue
243 id="NewApi"
Orion Hodson83b141e2021-11-30 13:32:38 +0000244 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
245 errorLine1=" new BigDecimal(BigInteger.TWO, 2, 0, 1),"
246 errorLine2=" ~~~~~~~~~~~~~~">
247 <location
248 file="libcore/ojluni/src/main/java/java/math/BigDecimal.java"
249 line="296"
250 column="24"/>
251 </issue>
252
253 <issue
254 id="NewApi"
255 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
256 errorLine1=" rb = BigInteger.TWO.pow(exponent).multiply(compactVal);"
257 errorLine2=" ~~~~~~~~~~~~~~">
258 <location
259 file="libcore/ojluni/src/main/java/java/math/BigDecimal.java"
260 line="956"
261 column="22"/>
262 </issue>
263
264 <issue
265 id="NewApi"
266 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
267 errorLine1=" return TWO;"
268 errorLine2=" ~~~">
269 <location
270 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
271 line="865"
272 column="20"/>
273 </issue>
274
275 <issue
276 id="NewApi"
277 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
278 errorLine1=" result = result.add(TWO);"
279 errorLine2=" ~~~">
280 <location
281 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
282 line="883"
283 column="45"/>
284 </issue>
285
286 <issue
287 id="NewApi"
288 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
289 errorLine1=" result = result.add(TWO);"
290 errorLine2=" ~~~">
291 <location
292 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
293 line="896"
294 column="37"/>
295 </issue>
296
297 <issue
298 id="NewApi"
299 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
300 errorLine1=" z = z.modPow(TWO, this);"
301 errorLine2=" ~~~">
302 <location
303 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
304 line="1113"
305 column="30"/>
306 </issue>
307
308 <issue
309 id="NewApi"
310 message="Field requires API level 32 (current min is 31): `java.math.BigInteger#TWO`"
311 errorLine1=" if (w.equals(TWO))"
312 errorLine2=" ~~~">
313 <location
314 file="libcore/ojluni/src/main/java/java/math/BigInteger.java"
315 line="3846"
316 column="22"/>
317 </issue>
318
319 <issue
320 id="NewApi"
Orion Hodson11d114e2021-06-10 16:27:44 +0100321 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
322 errorLine1="final class ByteArrayViewVarHandle extends VarHandle {"
323 errorLine2=" ~~~~~~~~~">
324 <location
325 file="libcore/libart/src/main/java/java/lang/invoke/ByteArrayViewVarHandle.java"
326 line="25"
327 column="44"/>
328 </issue>
329
330 <issue
331 id="NewApi"
332 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
333 errorLine1="final class ByteBufferViewVarHandle extends VarHandle {"
334 errorLine2=" ~~~~~~~~~">
335 <location
336 file="libcore/libart/src/main/java/java/lang/invoke/ByteBufferViewVarHandle.java"
337 line="26"
338 column="45"/>
339 </issue>
340
341 <issue
342 id="NewApi"
Nikita Iashchenko1783bef2021-12-08 21:41:44 +0000343 message="Class requires API level 32 (current min is 31): `java.lang.ref.Cleaner.Cleanable`"
344 errorLine1=" Cleanable ref = (Cleanable) queue.remove(60 * 1000L);"
345 errorLine2=" ~~~~~~~~~">
346 <location
347 file="libcore/ojluni/src/main/java/jdk/internal/ref/CleanerImpl.java"
348 line="152"
349 column="34"/>
350 </issue>
351
352 <issue
353 id="NewApi"
Miguel23f47732022-01-18 15:45:32 +0000354 message="Class requires API level 32 (current min is 31): `java.security.spec.NamedParameterSpec`"
355 errorLine1="public class ECGenParameterSpec extends NamedParameterSpec {"
356 errorLine2=" ~~~~~~~~~~~~~~~~~~">
357 <location
358 file="libcore/ojluni/src/main/java/java/security/spec/ECGenParameterSpec.java"
359 line="37"
360 column="41"/>
361 </issue>
362
363 <issue
364 id="NewApi"
Orion Hodson11d114e2021-06-10 16:27:44 +0100365 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
366 errorLine1="class FieldVarHandle extends VarHandle {"
367 errorLine2=" ~~~~~~~~~">
368 <location
369 file="libcore/libart/src/main/java/java/lang/invoke/FieldVarHandle.java"
370 line="26"
371 column="30"/>
372 </issue>
373
374 <issue
375 id="NewApi"
376 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
Orion Hodson83b141e2021-11-30 13:32:38 +0000377 errorLine1=" || VarHandle.class.isAssignableFrom(declaringClass))) {"
378 errorLine2=" ~~~~~~~~~">
379 <location
380 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandleImpl.java"
381 line="165"
382 column="36"/>
383 </issue>
384
385 <issue
386 id="NewApi"
387 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
Orion Hodson11d114e2021-06-10 16:27:44 +0100388 errorLine1=" } else if (refc == VarHandle.class) {"
389 errorLine2=" ~~~~~~~~~">
390 <location
391 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandles.java"
Orion Hodson83b141e2021-11-30 13:32:38 +0000392 line="949"
Orion Hodson11d114e2021-06-10 16:27:44 +0100393 column="32"/>
394 </issue>
395
396 <issue
397 id="NewApi"
398 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
399 errorLine1=" Class&lt;?> refc = VarHandle.class;"
400 errorLine2=" ~~~~~~~~~">
401 <location
402 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandles.java"
Orion Hodson83b141e2021-11-30 13:32:38 +0000403 line="2519"
Orion Hodson11d114e2021-06-10 16:27:44 +0100404 column="25"/>
405 </issue>
406
407 <issue
408 id="NewApi"
409 message="Class requires API level 32 (current min is 31): `java.lang.invoke.VarHandle`"
410 errorLine1=" MethodType methodType = type.insertParameterTypes(0, VarHandle.class);"
411 errorLine2=" ~~~~~~~~~">
412 <location
413 file="libcore/ojluni/src/main/java/java/lang/invoke/MethodHandles.java"
Orion Hodson83b141e2021-11-30 13:32:38 +0000414 line="2526"
Orion Hodson11d114e2021-06-10 16:27:44 +0100415 column="62"/>
416 </issue>
417
Pete Bentleyd10becf2021-10-21 20:53:16 +0100418 <issue
419 id="NewApi"
Nikita Iashchenko1783bef2021-12-08 21:41:44 +0000420 message="Class requires API level 32 (current min is 31): `java.lang.ref.Cleaner.Cleanable`"
421 errorLine1=" implements Cleaner.Cleanable {"
422 errorLine2=" ~~~~~~~~~~~~~~~~~">
423 <location
424 file="libcore/ojluni/src/main/java/jdk/internal/ref/PhantomCleanable.java"
425 line="44"
426 column="20"/>
427 </issue>
428
429 <issue
430 id="NewApi"
Pete Bentleyd10becf2021-10-21 20:53:16 +0100431 message="Class requires API level 32 (current min is 31): `java.security.cert.URICertStoreParameters`"
432 errorLine1=" if (p == null || (!(p instanceof URICertStoreParameters))) {"
433 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
434 <location
435 file="libcore/ojluni/src/main/java/java/security/cert/URICertStoreParameters.java"
436 line="127"
437 column="42"/>
438 </issue>
439
440 <issue
441 id="NewApi"
442 message="Class requires API level 32 (current min is 31): `java.security.cert.URICertStoreParameters`"
443 errorLine1=" URICertStoreParameters other = (URICertStoreParameters)p;"
444 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
445 <location
446 file="libcore/ojluni/src/main/java/java/security/cert/URICertStoreParameters.java"
447 line="135"
448 column="41"/>
449 </issue>
450
Orion Hodson11d114e2021-06-10 16:27:44 +0100451</issues>