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