1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <rules version="1.0">
|
---|
3 |
|
---|
4 | <rule>
|
---|
5 | <id>
|
---|
6 | Method_Became_Static
|
---|
7 | </id>
|
---|
8 | <severity>
|
---|
9 | High
|
---|
10 | </severity>
|
---|
11 | <kind>
|
---|
12 | Methods
|
---|
13 | </kind>
|
---|
14 | <change>
|
---|
15 | Method became static.
|
---|
16 | </change>
|
---|
17 | <effect>
|
---|
18 | A client program may be interrupted by **NoSuchMethodError** exception.
|
---|
19 | </effect>
|
---|
20 | </rule>
|
---|
21 |
|
---|
22 | <rule>
|
---|
23 | <id>
|
---|
24 | Method_Became_NonStatic
|
---|
25 | </id>
|
---|
26 | <severity>
|
---|
27 | High
|
---|
28 | </severity>
|
---|
29 | <kind>
|
---|
30 | Methods
|
---|
31 | </kind>
|
---|
32 | <change>
|
---|
33 | Method became non-static.
|
---|
34 | </change>
|
---|
35 | <effect>
|
---|
36 | A client program may be interrupted by **NoSuchMethodError** exception.
|
---|
37 | </effect>
|
---|
38 | </rule>
|
---|
39 |
|
---|
40 | <rule>
|
---|
41 | <id>
|
---|
42 | Changed_Method_Return_From_Void
|
---|
43 | </id>
|
---|
44 | <severity>
|
---|
45 | High
|
---|
46 | </severity>
|
---|
47 | <kind>
|
---|
48 | Methods
|
---|
49 | </kind>
|
---|
50 | <change>
|
---|
51 | Return value type has been changed from **void** to @new_value.
|
---|
52 | </change>
|
---|
53 | <effect>
|
---|
54 | This method has been removed because the return type is part of the method signature.
|
---|
55 | </effect>
|
---|
56 | </rule>
|
---|
57 |
|
---|
58 | <rule>
|
---|
59 | <id>
|
---|
60 | NonStatic_Method_Became_Final
|
---|
61 | </id>
|
---|
62 | <severity>
|
---|
63 | Medium
|
---|
64 | </severity>
|
---|
65 | <kind>
|
---|
66 | Methods
|
---|
67 | </kind>
|
---|
68 | <change>
|
---|
69 | Method became final.
|
---|
70 | </change>
|
---|
71 | <effect>
|
---|
72 | A client program trying to reimplement this method may be interrupted by **VerifyError** exception.
|
---|
73 | </effect>
|
---|
74 | </rule>
|
---|
75 |
|
---|
76 | <rule>
|
---|
77 | <id>
|
---|
78 | Method_Became_Abstract
|
---|
79 | </id>
|
---|
80 | <severity>
|
---|
81 | High
|
---|
82 | </severity>
|
---|
83 | <kind>
|
---|
84 | Methods
|
---|
85 | </kind>
|
---|
86 | <change>
|
---|
87 | Method became abstract.
|
---|
88 | </change>
|
---|
89 | <effect>
|
---|
90 | A client program trying to create an instance of the method's class may be interrupted by **InstantiationError** exception.
|
---|
91 | </effect>
|
---|
92 | </rule>
|
---|
93 |
|
---|
94 | <rule>
|
---|
95 | <id>
|
---|
96 | Method_Became_NonAbstract
|
---|
97 | </id>
|
---|
98 | <severity>
|
---|
99 | Low
|
---|
100 | </severity>
|
---|
101 | <kind>
|
---|
102 | Methods
|
---|
103 | </kind>
|
---|
104 | <change>
|
---|
105 | Method became non-abstract.
|
---|
106 | </change>
|
---|
107 | <effect>
|
---|
108 | A client program may change behavior.
|
---|
109 | </effect>
|
---|
110 | </rule>
|
---|
111 |
|
---|
112 | <rule>
|
---|
113 | <id>
|
---|
114 | Method_Became_Default
|
---|
115 | </id>
|
---|
116 | <severity>
|
---|
117 | Safe
|
---|
118 | </severity>
|
---|
119 | <kind>
|
---|
120 | Methods
|
---|
121 | </kind>
|
---|
122 | <change>
|
---|
123 | Method became default.
|
---|
124 | </change>
|
---|
125 | <effect>
|
---|
126 | No effect.
|
---|
127 | </effect>
|
---|
128 | </rule>
|
---|
129 |
|
---|
130 | <rule>
|
---|
131 | <id>
|
---|
132 | Method_Became_NonDefault
|
---|
133 | </id>
|
---|
134 | <severity>
|
---|
135 | High
|
---|
136 | </severity>
|
---|
137 | <kind>
|
---|
138 | Methods
|
---|
139 | </kind>
|
---|
140 | <change>
|
---|
141 | Method became non-default.
|
---|
142 | </change>
|
---|
143 | <effect>
|
---|
144 | A client program trying to create an instance of a class may be interrupted by **AbstractMethodError** exception.
|
---|
145 | </effect>
|
---|
146 | </rule>
|
---|
147 |
|
---|
148 | <rule>
|
---|
149 | <id>
|
---|
150 | Method_Became_Synchronized
|
---|
151 | </id>
|
---|
152 | <severity>
|
---|
153 | Low
|
---|
154 | </severity>
|
---|
155 | <kind>
|
---|
156 | Methods
|
---|
157 | </kind>
|
---|
158 | <change>
|
---|
159 | Method became synchronized.
|
---|
160 | </change>
|
---|
161 | <effect>
|
---|
162 | A multi-threaded client program may change behavior.
|
---|
163 | </effect>
|
---|
164 | </rule>
|
---|
165 |
|
---|
166 | <rule>
|
---|
167 | <id>
|
---|
168 | Method_Became_NonSynchronized
|
---|
169 | </id>
|
---|
170 | <severity>
|
---|
171 | Low
|
---|
172 | </severity>
|
---|
173 | <kind>
|
---|
174 | Methods
|
---|
175 | </kind>
|
---|
176 | <change>
|
---|
177 | Method became non-synchronized.
|
---|
178 | </change>
|
---|
179 | <effect>
|
---|
180 | A multi-threaded client program may change behavior.
|
---|
181 | </effect>
|
---|
182 | </rule>
|
---|
183 |
|
---|
184 | <rule>
|
---|
185 | <id>
|
---|
186 | Changed_Method_Access
|
---|
187 | </id>
|
---|
188 | <severity>
|
---|
189 | High
|
---|
190 | </severity>
|
---|
191 | <kind>
|
---|
192 | Methods
|
---|
193 | </kind>
|
---|
194 | <change>
|
---|
195 | Access level has been changed from @old_value to @new_value.
|
---|
196 | </change>
|
---|
197 | <effect>
|
---|
198 | A client program may be interrupted by **IllegalAccessError** exception.
|
---|
199 | </effect>
|
---|
200 | </rule>
|
---|
201 |
|
---|
202 | <rule>
|
---|
203 | <id>
|
---|
204 | NonAbstract_Method_Added_Checked_Exception
|
---|
205 | </id>
|
---|
206 | <severity>
|
---|
207 | Low
|
---|
208 | </severity>
|
---|
209 | <kind>
|
---|
210 | Methods
|
---|
211 | </kind>
|
---|
212 | <change>
|
---|
213 | Added @target exception thrown.
|
---|
214 | </change>
|
---|
215 | <effect>
|
---|
216 | A client program may be interrupted by added exception.
|
---|
217 | </effect>
|
---|
218 | </rule>
|
---|
219 |
|
---|
220 | <rule>
|
---|
221 | <id>
|
---|
222 | NonAbstract_Method_Removed_Checked_Exception
|
---|
223 | </id>
|
---|
224 | <severity>
|
---|
225 | Low
|
---|
226 | </severity>
|
---|
227 | <kind>
|
---|
228 | Methods
|
---|
229 | </kind>
|
---|
230 | <change>
|
---|
231 | Removed @target exception thrown.
|
---|
232 | </change>
|
---|
233 | <effect>
|
---|
234 | A client program may change behavior because the removed exception will not be thrown any more and client will not catch and handle it.
|
---|
235 | </effect>
|
---|
236 | </rule>
|
---|
237 |
|
---|
238 | <rule>
|
---|
239 | <id>
|
---|
240 | Added_Unchecked_Exception
|
---|
241 | </id>
|
---|
242 | <severity>
|
---|
243 | Low
|
---|
244 | </severity>
|
---|
245 | <kind>
|
---|
246 | Methods
|
---|
247 | </kind>
|
---|
248 | <change>
|
---|
249 | Added @target exception thrown.
|
---|
250 | </change>
|
---|
251 | <effect>
|
---|
252 | A client program may be interrupted by added exception.
|
---|
253 | </effect>
|
---|
254 | </rule>
|
---|
255 |
|
---|
256 | <rule>
|
---|
257 | <id>
|
---|
258 | Removed_Unchecked_Exception
|
---|
259 | </id>
|
---|
260 | <severity>
|
---|
261 | Low
|
---|
262 | </severity>
|
---|
263 | <kind>
|
---|
264 | Methods
|
---|
265 | </kind>
|
---|
266 | <change>
|
---|
267 | Removed @target exception thrown.
|
---|
268 | </change>
|
---|
269 | <effect>
|
---|
270 | A client program may change behavior because the removed exception will not be thrown any more and client will not catch and handle it.
|
---|
271 | </effect>
|
---|
272 | </rule>
|
---|
273 |
|
---|
274 | <rule>
|
---|
275 | <id>
|
---|
276 | Added_Method
|
---|
277 | </id>
|
---|
278 | <severity>
|
---|
279 | Safe
|
---|
280 | </severity>
|
---|
281 | <kind>
|
---|
282 | Methods
|
---|
283 | </kind>
|
---|
284 | </rule>
|
---|
285 |
|
---|
286 | <rule>
|
---|
287 | <id>
|
---|
288 | Removed_Method
|
---|
289 | </id>
|
---|
290 | <severity>
|
---|
291 | High
|
---|
292 | </severity>
|
---|
293 | <kind>
|
---|
294 | Methods
|
---|
295 | </kind>
|
---|
296 | </rule>
|
---|
297 |
|
---|
298 | <rule>
|
---|
299 | <id>
|
---|
300 | Variable_Arity_To_Array
|
---|
301 | </id>
|
---|
302 | <severity>
|
---|
303 | Low
|
---|
304 | </severity>
|
---|
305 | <kind>
|
---|
306 | Methods
|
---|
307 | </kind>
|
---|
308 | </rule>
|
---|
309 |
|
---|
310 | <rule>
|
---|
311 | <id>
|
---|
312 | NonAbstract_Class_Added_Abstract_Method
|
---|
313 | </id>
|
---|
314 | <severity>
|
---|
315 | High
|
---|
316 | </severity>
|
---|
317 | <kind>
|
---|
318 | Types
|
---|
319 | </kind>
|
---|
320 | <change>
|
---|
321 | Abstract method @target has been added to this class.
|
---|
322 | </change>
|
---|
323 | <effect>
|
---|
324 | This class became abstract and a client program may be interrupted by **InstantiationError** exception.
|
---|
325 | </effect>
|
---|
326 | </rule>
|
---|
327 |
|
---|
328 | <rule>
|
---|
329 | <id>
|
---|
330 | Abstract_Class_Added_Abstract_Method
|
---|
331 | </id>
|
---|
332 | <severity>
|
---|
333 | Safe
|
---|
334 | </severity>
|
---|
335 | <kind>
|
---|
336 | Types
|
---|
337 | </kind>
|
---|
338 | <change>
|
---|
339 | Abstract method @target has been added to this class.
|
---|
340 | </change>
|
---|
341 | <effect>
|
---|
342 | No effect.
|
---|
343 | </effect>
|
---|
344 | </rule>
|
---|
345 |
|
---|
346 | <rule>
|
---|
347 | <id>
|
---|
348 | Abstract_Class_Added_Abstract_Method_Invoked_By_Others
|
---|
349 | </id>
|
---|
350 | <severity>
|
---|
351 | Medium
|
---|
352 | </severity>
|
---|
353 | <kind>
|
---|
354 | Types
|
---|
355 | </kind>
|
---|
356 | <change>
|
---|
357 | Abstract method @target has been added to this class.
|
---|
358 | </change>
|
---|
359 | <effect>
|
---|
360 | A client program may be interrupted by **AbstractMethodError** exception. Added abstract method is called in 2nd library version by the method @invoked_by and may not be implemented by old clients.
|
---|
361 | </effect>
|
---|
362 | </rule>
|
---|
363 |
|
---|
364 | <rule>
|
---|
365 | <id>
|
---|
366 | Class_Removed_Abstract_Method
|
---|
367 | </id>
|
---|
368 | <severity>
|
---|
369 | High
|
---|
370 | </severity>
|
---|
371 | <kind>
|
---|
372 | Types
|
---|
373 | </kind>
|
---|
374 | <change>
|
---|
375 | Abstract method @target has been removed from this class.
|
---|
376 | </change>
|
---|
377 | <effect>
|
---|
378 | A client program may be interrupted by **NoSuchMethodError** exception.
|
---|
379 | </effect>
|
---|
380 | </rule>
|
---|
381 |
|
---|
382 | <rule>
|
---|
383 | <id>
|
---|
384 | Interface_Removed_Abstract_Method
|
---|
385 | </id>
|
---|
386 | <severity>
|
---|
387 | High
|
---|
388 | </severity>
|
---|
389 | <kind>
|
---|
390 | Types
|
---|
391 | </kind>
|
---|
392 | <change>
|
---|
393 | Abstract method @target has been removed from this interface.
|
---|
394 | </change>
|
---|
395 | <effect>
|
---|
396 | A client program may be interrupted by **NoSuchMethodError** exception.
|
---|
397 | </effect>
|
---|
398 | </rule>
|
---|
399 |
|
---|
400 | <rule>
|
---|
401 | <id>
|
---|
402 | Interface_Added_Abstract_Method
|
---|
403 | </id>
|
---|
404 | <severity>
|
---|
405 | Safe
|
---|
406 | </severity>
|
---|
407 | <kind>
|
---|
408 | Types
|
---|
409 | </kind>
|
---|
410 | <change>
|
---|
411 | Abstract method @target has been added to this interface.
|
---|
412 | </change>
|
---|
413 | <effect>
|
---|
414 | No effect.
|
---|
415 | </effect>
|
---|
416 | </rule>
|
---|
417 |
|
---|
418 | <rule>
|
---|
419 | <id>
|
---|
420 | Interface_Added_Abstract_Method_Invoked_By_Others
|
---|
421 | </id>
|
---|
422 | <severity>
|
---|
423 | Medium
|
---|
424 | </severity>
|
---|
425 | <kind>
|
---|
426 | Types
|
---|
427 | </kind>
|
---|
428 | <change>
|
---|
429 | Abstract method @target has been added to this interface.
|
---|
430 | </change>
|
---|
431 | <effect>
|
---|
432 | A client program may be interrupted by **AbstractMethodError** exception. Added abstract method is called in 2nd library version by the method @invoked_by and may not be implemented by old clients.
|
---|
433 | </effect>
|
---|
434 | </rule>
|
---|
435 |
|
---|
436 | <rule>
|
---|
437 | <id>
|
---|
438 | Class_Method_Became_Abstract
|
---|
439 | </id>
|
---|
440 | <severity>
|
---|
441 | High
|
---|
442 | </severity>
|
---|
443 | <kind>
|
---|
444 | Types
|
---|
445 | </kind>
|
---|
446 | <change>
|
---|
447 | Method @target became abstract.
|
---|
448 | </change>
|
---|
449 | <effect>
|
---|
450 | A client program may be interrupted by **InstantiationError** exception.
|
---|
451 | </effect>
|
---|
452 | </rule>
|
---|
453 |
|
---|
454 | <rule>
|
---|
455 | <id>
|
---|
456 | Class_Method_Became_NonAbstract
|
---|
457 | </id>
|
---|
458 | <severity>
|
---|
459 | Low
|
---|
460 | </severity>
|
---|
461 | <kind>
|
---|
462 | Types
|
---|
463 | </kind>
|
---|
464 | <change>
|
---|
465 | Abstract method @target became non-abstract.
|
---|
466 | </change>
|
---|
467 | <effect>
|
---|
468 | Some methods in this class may change behavior.
|
---|
469 | </effect>
|
---|
470 | </rule>
|
---|
471 |
|
---|
472 | <rule>
|
---|
473 | <id>
|
---|
474 | Interface_Method_Became_NonDefault
|
---|
475 | </id>
|
---|
476 | <severity>
|
---|
477 | High
|
---|
478 | </severity>
|
---|
479 | <kind>
|
---|
480 | Types
|
---|
481 | </kind>
|
---|
482 | <change>
|
---|
483 | Method @target became non-default.
|
---|
484 | </change>
|
---|
485 | <effect>
|
---|
486 | A client program may be interrupted by **AbstractMethodError** exception.
|
---|
487 | </effect>
|
---|
488 | </rule>
|
---|
489 |
|
---|
490 | <rule>
|
---|
491 | <id>
|
---|
492 | Interface_Method_Became_Default
|
---|
493 | </id>
|
---|
494 | <severity>
|
---|
495 | Safe
|
---|
496 | </severity>
|
---|
497 | <kind>
|
---|
498 | Types
|
---|
499 | </kind>
|
---|
500 | <change>
|
---|
501 | Method @target became default.
|
---|
502 | </change>
|
---|
503 | <effect>
|
---|
504 | No effect.
|
---|
505 | </effect>
|
---|
506 | </rule>
|
---|
507 |
|
---|
508 | <rule>
|
---|
509 | <id>
|
---|
510 | Class_Overridden_Method
|
---|
511 | </id>
|
---|
512 | <severity>
|
---|
513 | Low
|
---|
514 | </severity>
|
---|
515 | <kind>
|
---|
516 | Types
|
---|
517 | </kind>
|
---|
518 | <change>
|
---|
519 | Method @old_value has been overridden by @new_value.
|
---|
520 | </change>
|
---|
521 | <effect>
|
---|
522 | Method @new_value will be called instead of @old_value in a client program.
|
---|
523 | </effect>
|
---|
524 | </rule>
|
---|
525 |
|
---|
526 | <rule>
|
---|
527 | <id>
|
---|
528 | Class_Method_Moved_Up_Hierarchy
|
---|
529 | </id>
|
---|
530 | <severity>
|
---|
531 | Low
|
---|
532 | </severity>
|
---|
533 | <kind>
|
---|
534 | Types
|
---|
535 | </kind>
|
---|
536 | <change>
|
---|
537 | Method @old_value has been moved up type hierarchy to @new_value.
|
---|
538 | </change>
|
---|
539 | <effect>
|
---|
540 | Method @new_value will be called instead of @old_value in a client program.
|
---|
541 | </effect>
|
---|
542 | </rule>
|
---|
543 |
|
---|
544 | <rule>
|
---|
545 | <id>
|
---|
546 | Abstract_Class_Added_Super_Interface
|
---|
547 | </id>
|
---|
548 | <severity>
|
---|
549 | Safe
|
---|
550 | </severity>
|
---|
551 | <kind>
|
---|
552 | Types
|
---|
553 | </kind>
|
---|
554 | <change>
|
---|
555 | Added super-interface @target.
|
---|
556 | </change>
|
---|
557 | <effect>
|
---|
558 | No effect.
|
---|
559 | </effect>
|
---|
560 | </rule>
|
---|
561 |
|
---|
562 | <rule>
|
---|
563 | <id>
|
---|
564 | Abstract_Class_Added_Super_Interface_Invoked_By_Others
|
---|
565 | </id>
|
---|
566 | <severity>
|
---|
567 | Medium
|
---|
568 | </severity>
|
---|
569 | <kind>
|
---|
570 | Types
|
---|
571 | </kind>
|
---|
572 | <change>
|
---|
573 | Added super-interface @target.
|
---|
574 | </change>
|
---|
575 | <effect>
|
---|
576 | If abstract methods from an added super-interface must be implemented by client then it may be interrupted by **AbstractMethodError** exception.
|
---|
577 |
|
---|
578 | NOTE: Abstract method @invoked from the added super-interface is called by the method @invoked_by in 2nd library version and may not be implemented by old clients.
|
---|
579 | </effect>
|
---|
580 | </rule>
|
---|
581 |
|
---|
582 | <rule>
|
---|
583 | <id>
|
---|
584 | Abstract_Class_Added_Super_Interface_With_Implemented_Methods
|
---|
585 | </id>
|
---|
586 | <severity>
|
---|
587 | Safe
|
---|
588 | </severity>
|
---|
589 | <kind>
|
---|
590 | Types
|
---|
591 | </kind>
|
---|
592 | <change>
|
---|
593 | Added super-interface @target.
|
---|
594 | </change>
|
---|
595 | <effect>
|
---|
596 | No effect.
|
---|
597 | </effect>
|
---|
598 | </rule>
|
---|
599 |
|
---|
600 | <rule>
|
---|
601 | <id>
|
---|
602 | Interface_Added_Super_Interface
|
---|
603 | </id>
|
---|
604 | <severity>
|
---|
605 | Safe
|
---|
606 | </severity>
|
---|
607 | <kind>
|
---|
608 | Types
|
---|
609 | </kind>
|
---|
610 | <change>
|
---|
611 | Added super-interface @target.
|
---|
612 | </change>
|
---|
613 | <effect>
|
---|
614 | No effect.
|
---|
615 | </effect>
|
---|
616 | </rule>
|
---|
617 |
|
---|
618 | <rule>
|
---|
619 | <id>
|
---|
620 | Interface_Added_Super_Interface_Used_By_Others
|
---|
621 | </id>
|
---|
622 | <severity>
|
---|
623 | Medium
|
---|
624 | </severity>
|
---|
625 | <kind>
|
---|
626 | Types
|
---|
627 | </kind>
|
---|
628 | <change>
|
---|
629 | Added super-interface @target.
|
---|
630 | </change>
|
---|
631 | <effect>
|
---|
632 | If abstract methods from an added super-interface must be implemented by client then it may be interrupted by **AbstractMethodError** exception.
|
---|
633 |
|
---|
634 | NOTE: Abstract method @invoked from the added super-interface is called by the method @invoked_by in 2nd library version and may not be implemented by old clients.
|
---|
635 | </effect>
|
---|
636 | </rule>
|
---|
637 |
|
---|
638 | <rule>
|
---|
639 | <id>
|
---|
640 | Interface_Added_Super_Interface_With_Implemented_Methods
|
---|
641 | </id>
|
---|
642 | <severity>
|
---|
643 | Safe
|
---|
644 | </severity>
|
---|
645 | <kind>
|
---|
646 | Types
|
---|
647 | </kind>
|
---|
648 | <change>
|
---|
649 | Added super-interface @target.
|
---|
650 | </change>
|
---|
651 | <effect>
|
---|
652 | No effect.
|
---|
653 | </effect>
|
---|
654 | </rule>
|
---|
655 |
|
---|
656 | <rule>
|
---|
657 | <id>
|
---|
658 | Interface_Added_Super_Constant_Interface
|
---|
659 | </id>
|
---|
660 | <severity>
|
---|
661 | Low
|
---|
662 | </severity>
|
---|
663 | <kind>
|
---|
664 | Types
|
---|
665 | </kind>
|
---|
666 | <change>
|
---|
667 | Added super-interface @target containing constants only.
|
---|
668 | </change>
|
---|
669 | <effect>
|
---|
670 | A static field from a super-interface of a client class may hide a field (with the same name) inherited from a super-class and cause **IncompatibleClassChangeError** exception.
|
---|
671 | </effect>
|
---|
672 | </rule>
|
---|
673 |
|
---|
674 | <rule>
|
---|
675 | <id>
|
---|
676 | Interface_Removed_Super_Interface
|
---|
677 | </id>
|
---|
678 | <severity>
|
---|
679 | High
|
---|
680 | </severity>
|
---|
681 | <kind>
|
---|
682 | Types
|
---|
683 | </kind>
|
---|
684 | <change>
|
---|
685 | Removed super-interface @target.
|
---|
686 | </change>
|
---|
687 | <effect>
|
---|
688 | A client program may be interrupted by **NoSuchMethodError** exception.
|
---|
689 | </effect>
|
---|
690 | </rule>
|
---|
691 |
|
---|
692 | <rule>
|
---|
693 | <id>
|
---|
694 | Class_Removed_Super_Interface
|
---|
695 | </id>
|
---|
696 | <severity>
|
---|
697 | High
|
---|
698 | </severity>
|
---|
699 | <kind>
|
---|
700 | Types
|
---|
701 | </kind>
|
---|
702 | <change>
|
---|
703 | Removed super-interface @target.
|
---|
704 | </change>
|
---|
705 | <effect>
|
---|
706 | A client program may be interrupted by **NoSuchMethodError** exception.
|
---|
707 | </effect>
|
---|
708 | </rule>
|
---|
709 |
|
---|
710 | <rule>
|
---|
711 | <id>
|
---|
712 | Interface_Removed_Super_Constant_Interface
|
---|
713 | </id>
|
---|
714 | <severity>
|
---|
715 | Safe
|
---|
716 | </severity>
|
---|
717 | <kind>
|
---|
718 | Types
|
---|
719 | </kind>
|
---|
720 | <change>
|
---|
721 | Removed super-interface @target containing constants only.
|
---|
722 | </change>
|
---|
723 | <effect>
|
---|
724 | No effect.
|
---|
725 | </effect>
|
---|
726 | </rule>
|
---|
727 |
|
---|
728 | <rule>
|
---|
729 | <id>
|
---|
730 | Added_Super_Class
|
---|
731 | </id>
|
---|
732 | <severity>
|
---|
733 | Low
|
---|
734 | </severity>
|
---|
735 | <kind>
|
---|
736 | Types
|
---|
737 | </kind>
|
---|
738 | <change>
|
---|
739 | Added super-class @target.
|
---|
740 | </change>
|
---|
741 | <effect>
|
---|
742 | A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause **IncompatibleClassChangeError** exception.
|
---|
743 | </effect>
|
---|
744 | </rule>
|
---|
745 |
|
---|
746 | <rule>
|
---|
747 | <id>
|
---|
748 | Abstract_Class_Added_Super_Abstract_Class
|
---|
749 | </id>
|
---|
750 | <severity>
|
---|
751 | Safe
|
---|
752 | </severity>
|
---|
753 | <kind>
|
---|
754 | Types
|
---|
755 | </kind>
|
---|
756 | <change>
|
---|
757 | Added abstract super-class @target.
|
---|
758 | </change>
|
---|
759 | <effect>
|
---|
760 | No effect.
|
---|
761 | </effect>
|
---|
762 | </rule>
|
---|
763 |
|
---|
764 | <rule>
|
---|
765 | <id>
|
---|
766 | Abstract_Class_Added_Super_Abstract_Class_Invoked_By_Others
|
---|
767 | </id>
|
---|
768 | <severity>
|
---|
769 | Medium
|
---|
770 | </severity>
|
---|
771 | <kind>
|
---|
772 | Types
|
---|
773 | </kind>
|
---|
774 | <change>
|
---|
775 | Added abstract super-class @target.
|
---|
776 | </change>
|
---|
777 | <effect>
|
---|
778 | If abstract methods from an added super-class must be implemented by client then it may be interrupted by **AbstractMethodError** exception. Abstract method @invoked from the added abstract super-class is called by the method @invoked_by in 2nd library version and may not be implemented by old clients.
|
---|
779 | </effect>
|
---|
780 | </rule>
|
---|
781 |
|
---|
782 | <rule>
|
---|
783 | <id>
|
---|
784 | Removed_Super_Class
|
---|
785 | </id>
|
---|
786 | <severity>
|
---|
787 | Medium
|
---|
788 | </severity>
|
---|
789 | <kind>
|
---|
790 | Types
|
---|
791 | </kind>
|
---|
792 | <change>
|
---|
793 | Removed super-class @target.
|
---|
794 | </change>
|
---|
795 | <effect>
|
---|
796 | Access of a client program to the fields or methods of the old super-class may be interrupted by **NoSuchFieldError** or **NoSuchMethodError** exceptions.
|
---|
797 | </effect>
|
---|
798 | </rule>
|
---|
799 |
|
---|
800 | <rule>
|
---|
801 | <id>
|
---|
802 | Changed_Super_Class
|
---|
803 | </id>
|
---|
804 | <severity>
|
---|
805 | Medium
|
---|
806 | </severity>
|
---|
807 | <kind>
|
---|
808 | Types
|
---|
809 | </kind>
|
---|
810 | <change>
|
---|
811 | Superclass has been changed from @old_value to @new_value.
|
---|
812 | </change>
|
---|
813 | <effect>
|
---|
814 | 1) Access of a client program to the fields or methods of the old super-class may be interrupted by **NoSuchFieldError** or **NoSuchMethodError** exceptions.
|
---|
815 | 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause **IncompatibleClassChangeError** exception.
|
---|
816 | </effect>
|
---|
817 | </rule>
|
---|
818 |
|
---|
819 | <rule>
|
---|
820 | <id>
|
---|
821 | Class_Added_Field
|
---|
822 | </id>
|
---|
823 | <severity>
|
---|
824 | Safe
|
---|
825 | </severity>
|
---|
826 | <kind>
|
---|
827 | Fields
|
---|
828 | </kind>
|
---|
829 | <change>
|
---|
830 | Field @target has been added to this class.
|
---|
831 | </change>
|
---|
832 | <effect>
|
---|
833 | No effect.
|
---|
834 | </effect>
|
---|
835 | </rule>
|
---|
836 |
|
---|
837 | <rule>
|
---|
838 | <id>
|
---|
839 | Class_Added_Field_Non_Safe
|
---|
840 | </id>
|
---|
841 | <severity>
|
---|
842 | Low
|
---|
843 | </severity>
|
---|
844 | <kind>
|
---|
845 | Fields
|
---|
846 | </kind>
|
---|
847 | <change>
|
---|
848 | Field @target has been added to this class.
|
---|
849 | </change>
|
---|
850 | <effect>
|
---|
851 | NOTE: A static field from a super-interface of a client class may hide an added field (with the same name) inherited from the super-class of a client class and cause **IncompatibleClassChangeError** exception.
|
---|
852 | </effect>
|
---|
853 | </rule>
|
---|
854 |
|
---|
855 | <rule>
|
---|
856 | <id>
|
---|
857 | Interface_Added_Field
|
---|
858 | </id>
|
---|
859 | <severity>
|
---|
860 | Safe
|
---|
861 | </severity>
|
---|
862 | <kind>
|
---|
863 | Fields
|
---|
864 | </kind>
|
---|
865 | <change>
|
---|
866 | Field @target has been added to this interface.
|
---|
867 | </change>
|
---|
868 | <effect>
|
---|
869 | No effect.
|
---|
870 | </effect>
|
---|
871 | </rule>
|
---|
872 |
|
---|
873 | <rule>
|
---|
874 | <id>
|
---|
875 | Interface_Added_Field_Non_Safe
|
---|
876 | </id>
|
---|
877 | <severity>
|
---|
878 | Low
|
---|
879 | </severity>
|
---|
880 | <kind>
|
---|
881 | Fields
|
---|
882 | </kind>
|
---|
883 | <change>
|
---|
884 | Field @target has been added to this interface.
|
---|
885 | </change>
|
---|
886 | <effect>
|
---|
887 | NOTE: An added static field from a super-interface of a client class may hide a field (with the same name) inherited from the super-class of a client class and cause **IncompatibleClassChangeError** exception.
|
---|
888 | </effect>
|
---|
889 | </rule>
|
---|
890 |
|
---|
891 | <rule>
|
---|
892 | <id>
|
---|
893 | Renamed_Field
|
---|
894 | </id>
|
---|
895 | <severity>
|
---|
896 | High
|
---|
897 | </severity>
|
---|
898 | <kind>
|
---|
899 | Fields
|
---|
900 | </kind>
|
---|
901 | <change>
|
---|
902 | Field @target has been renamed to @new_value.
|
---|
903 | </change>
|
---|
904 | <effect>
|
---|
905 | A client program may be interrupted by **NoSuchFieldError** exception.
|
---|
906 | </effect>
|
---|
907 | </rule>
|
---|
908 |
|
---|
909 | <rule>
|
---|
910 | <id>
|
---|
911 | Renamed_Constant_Field
|
---|
912 | </id>
|
---|
913 | <severity>
|
---|
914 | Low
|
---|
915 | </severity>
|
---|
916 | <kind>
|
---|
917 | Fields
|
---|
918 | </kind>
|
---|
919 | <change>
|
---|
920 | Field @target of type @field_type with the compile-time constant value @field_value has been renamed to @new_value.
|
---|
921 | </change>
|
---|
922 | <effect>
|
---|
923 | A client program may change behavior.
|
---|
924 | </effect>
|
---|
925 | </rule>
|
---|
926 |
|
---|
927 | <rule>
|
---|
928 | <id>
|
---|
929 | Removed_NonConstant_Field
|
---|
930 | </id>
|
---|
931 | <severity>
|
---|
932 | High
|
---|
933 | </severity>
|
---|
934 | <kind>
|
---|
935 | Fields
|
---|
936 | </kind>
|
---|
937 | <change>
|
---|
938 | Field @target of type @field_type has been removed from this @type_type.
|
---|
939 | </change>
|
---|
940 | <effect>
|
---|
941 | A client program may be interrupted by **NoSuchFieldError** exception.
|
---|
942 | </effect>
|
---|
943 | </rule>
|
---|
944 |
|
---|
945 | <rule>
|
---|
946 | <id>
|
---|
947 | Removed_Constant_Field
|
---|
948 | </id>
|
---|
949 | <severity>
|
---|
950 | Low
|
---|
951 | </severity>
|
---|
952 | <kind>
|
---|
953 | Fields
|
---|
954 | </kind>
|
---|
955 | <change>
|
---|
956 | Field @target of type @field_type with the compile-time constant value @field_value has been removed from this @type_type.
|
---|
957 | </change>
|
---|
958 | <effect>
|
---|
959 | A client program may change behavior.
|
---|
960 | </effect>
|
---|
961 | </rule>
|
---|
962 |
|
---|
963 | <rule>
|
---|
964 | <id>
|
---|
965 | Changed_Field_Type
|
---|
966 | </id>
|
---|
967 | <severity>
|
---|
968 | High
|
---|
969 | </severity>
|
---|
970 | <kind>
|
---|
971 | Fields
|
---|
972 | </kind>
|
---|
973 | <change>
|
---|
974 | Type of field @target has been changed from @old_value to @new_value.
|
---|
975 | </change>
|
---|
976 | <effect>
|
---|
977 | A client program may be interrupted by **NoSuchFieldError** exception.
|
---|
978 | </effect>
|
---|
979 | </rule>
|
---|
980 |
|
---|
981 | <rule>
|
---|
982 | <id>
|
---|
983 | Changed_Field_Access
|
---|
984 | </id>
|
---|
985 | <severity>
|
---|
986 | High
|
---|
987 | </severity>
|
---|
988 | <kind>
|
---|
989 | Fields
|
---|
990 | </kind>
|
---|
991 | <change>
|
---|
992 | Access level of field @target has been changed from @old_value to @new_value.
|
---|
993 | </change>
|
---|
994 | <effect>
|
---|
995 | A client program may be interrupted by **IllegalAccessError** exception.
|
---|
996 | </effect>
|
---|
997 | </rule>
|
---|
998 |
|
---|
999 | <rule>
|
---|
1000 | <id>
|
---|
1001 | Changed_Field_Access_To_Package_Private
|
---|
1002 | </id>
|
---|
1003 | <severity>
|
---|
1004 | High
|
---|
1005 | </severity>
|
---|
1006 | <kind>
|
---|
1007 | Fields
|
---|
1008 | </kind>
|
---|
1009 | <change>
|
---|
1010 | Access level of field @target has been changed from @old_value to @new_value.
|
---|
1011 | </change>
|
---|
1012 | <effect>
|
---|
1013 | A client program may be interrupted by **IllegalAccessError** exception.
|
---|
1014 | </effect>
|
---|
1015 | </rule>
|
---|
1016 |
|
---|
1017 | <rule>
|
---|
1018 | <id>
|
---|
1019 | Changed_Final_Field_Value
|
---|
1020 | </id>
|
---|
1021 | <severity>
|
---|
1022 | Medium
|
---|
1023 | </severity>
|
---|
1024 | <kind>
|
---|
1025 | Fields
|
---|
1026 | </kind>
|
---|
1027 | <change>
|
---|
1028 | Value of final field @target of type @field_type has been changed from @old_value to @new_value.
|
---|
1029 | </change>
|
---|
1030 | <effect>
|
---|
1031 | Old value of the field will be inlined to the client code at compile-time and will be used instead of a new one.
|
---|
1032 | </effect>
|
---|
1033 | </rule>
|
---|
1034 |
|
---|
1035 | <rule>
|
---|
1036 | <id>
|
---|
1037 | Changed_Final_Version_Field_Value
|
---|
1038 | </id>
|
---|
1039 | <severity>
|
---|
1040 | Low
|
---|
1041 | </severity>
|
---|
1042 | <kind>
|
---|
1043 | Fields
|
---|
1044 | </kind>
|
---|
1045 | <change>
|
---|
1046 | Value of final field @target of type @field_type has been changed from @old_value to @new_value.
|
---|
1047 | </change>
|
---|
1048 | <effect>
|
---|
1049 | Old value of the field will be inlined to the client code at compile-time and will be used instead of a new one.
|
---|
1050 | </effect>
|
---|
1051 | </rule>
|
---|
1052 |
|
---|
1053 | <rule>
|
---|
1054 | <id>
|
---|
1055 | Field_Became_Final
|
---|
1056 | </id>
|
---|
1057 | <severity>
|
---|
1058 | Medium
|
---|
1059 | </severity>
|
---|
1060 | <kind>
|
---|
1061 | Fields
|
---|
1062 | </kind>
|
---|
1063 | <change>
|
---|
1064 | Field @target became final.
|
---|
1065 | </change>
|
---|
1066 | <effect>
|
---|
1067 | A client program may be interrupted by **IllegalAccessError** exception when attempts to assign new value to the field.
|
---|
1068 | </effect>
|
---|
1069 | </rule>
|
---|
1070 |
|
---|
1071 | <rule>
|
---|
1072 | <id>
|
---|
1073 | Field_Became_NonFinal
|
---|
1074 | </id>
|
---|
1075 | <severity>
|
---|
1076 | Low
|
---|
1077 | </severity>
|
---|
1078 | <kind>
|
---|
1079 | Fields
|
---|
1080 | </kind>
|
---|
1081 | <change>
|
---|
1082 | Field @target became non-final.
|
---|
1083 | </change>
|
---|
1084 | <effect>
|
---|
1085 | Old value of the field will be inlined to the client code at compile-time and will be used instead of a new one.
|
---|
1086 | </effect>
|
---|
1087 | </rule>
|
---|
1088 |
|
---|
1089 | <rule>
|
---|
1090 | <id>
|
---|
1091 | NonConstant_Field_Became_Static
|
---|
1092 | </id>
|
---|
1093 | <severity>
|
---|
1094 | High
|
---|
1095 | </severity>
|
---|
1096 | <kind>
|
---|
1097 | Fields
|
---|
1098 | </kind>
|
---|
1099 | <change>
|
---|
1100 | Non-final field @target became static.
|
---|
1101 | </change>
|
---|
1102 | <effect>
|
---|
1103 | A client program may be interrupted by **IncompatibleClassChangeError** exception.
|
---|
1104 | </effect>
|
---|
1105 | </rule>
|
---|
1106 |
|
---|
1107 | <rule>
|
---|
1108 | <id>
|
---|
1109 | NonConstant_Field_Became_NonStatic
|
---|
1110 | </id>
|
---|
1111 | <severity>
|
---|
1112 | High
|
---|
1113 | </severity>
|
---|
1114 | <kind>
|
---|
1115 | Fields
|
---|
1116 | </kind>
|
---|
1117 | <change>
|
---|
1118 | Non-constant field @target became non-static.
|
---|
1119 | </change>
|
---|
1120 | <effect>
|
---|
1121 | A client program may be interrupted by **IncompatibleClassChangeError** exception.
|
---|
1122 | </effect>
|
---|
1123 | </rule>
|
---|
1124 |
|
---|
1125 | <rule>
|
---|
1126 | <id>
|
---|
1127 | Class_Became_Interface
|
---|
1128 | </id>
|
---|
1129 | <severity>
|
---|
1130 | High
|
---|
1131 | </severity>
|
---|
1132 | <kind>
|
---|
1133 | Types
|
---|
1134 | </kind>
|
---|
1135 | <change>
|
---|
1136 | This **class** became **interface**.
|
---|
1137 | </change>
|
---|
1138 | <effect>
|
---|
1139 | A client program may be interrupted by **IncompatibleClassChangeError** or **InstantiationError** exception dependent on the usage of this class.
|
---|
1140 | </effect>
|
---|
1141 | </rule>
|
---|
1142 |
|
---|
1143 | <rule>
|
---|
1144 | <id>
|
---|
1145 | Interface_Became_Class
|
---|
1146 | </id>
|
---|
1147 | <severity>
|
---|
1148 | High
|
---|
1149 | </severity>
|
---|
1150 | <kind>
|
---|
1151 | Types
|
---|
1152 | </kind>
|
---|
1153 | <change>
|
---|
1154 | This **interface** became **class**.
|
---|
1155 | </change>
|
---|
1156 | <effect>
|
---|
1157 | A client program may be interrupted by **IncompatibleClassChangeError** exception.
|
---|
1158 | </effect>
|
---|
1159 | </rule>
|
---|
1160 |
|
---|
1161 | <rule>
|
---|
1162 | <id>
|
---|
1163 | Class_Became_Final
|
---|
1164 | </id>
|
---|
1165 | <severity>
|
---|
1166 | High
|
---|
1167 | </severity>
|
---|
1168 | <kind>
|
---|
1169 | Types
|
---|
1170 | </kind>
|
---|
1171 | <change>
|
---|
1172 | This class became final.
|
---|
1173 | </change>
|
---|
1174 | <effect>
|
---|
1175 | A client program may be interrupted by **VerifyError** exception.
|
---|
1176 | </effect>
|
---|
1177 | </rule>
|
---|
1178 |
|
---|
1179 | <rule>
|
---|
1180 | <id>
|
---|
1181 | Class_Became_Abstract
|
---|
1182 | </id>
|
---|
1183 | <severity>
|
---|
1184 | High
|
---|
1185 | </severity>
|
---|
1186 | <kind>
|
---|
1187 | Types
|
---|
1188 | </kind>
|
---|
1189 | <change>
|
---|
1190 | This class became abstract.
|
---|
1191 | </change>
|
---|
1192 | <effect>
|
---|
1193 | A client program may be interrupted by **InstantiationError** exception.
|
---|
1194 | </effect>
|
---|
1195 | </rule>
|
---|
1196 |
|
---|
1197 | <rule>
|
---|
1198 | <id>
|
---|
1199 | Removed_Class
|
---|
1200 | </id>
|
---|
1201 | <severity>
|
---|
1202 | High
|
---|
1203 | </severity>
|
---|
1204 | <kind>
|
---|
1205 | Types
|
---|
1206 | </kind>
|
---|
1207 | <change>
|
---|
1208 | This class has been removed.
|
---|
1209 | </change>
|
---|
1210 | <effect>
|
---|
1211 | A client program may be interrupted by **NoClassDefFoundError** exception.
|
---|
1212 | </effect>
|
---|
1213 | </rule>
|
---|
1214 |
|
---|
1215 | <rule>
|
---|
1216 | <id>
|
---|
1217 | Removed_Interface
|
---|
1218 | </id>
|
---|
1219 | <severity>
|
---|
1220 | High
|
---|
1221 | </severity>
|
---|
1222 | <kind>
|
---|
1223 | Types
|
---|
1224 | </kind>
|
---|
1225 | <change>
|
---|
1226 | This interface has been removed.
|
---|
1227 | </change>
|
---|
1228 | <effect>
|
---|
1229 | A client program may be interrupted by **NoClassDefFoundError** exception.
|
---|
1230 | </effect>
|
---|
1231 | </rule>
|
---|
1232 |
|
---|
1233 | </rules>
|
---|