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