source: josm/trunk/tools/japicc/modules/RulesBin.xml@ 18296

Last change on this file since 18296 was 13595, checked in by Don-vip, 7 years ago

tools update: Groovy 2.4.15, PMD 6.2.0, JAPICC 2.4

File size: 29.6 KB
RevLine 
[11682]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>
[12872]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.
[11682]55 </effect>
56</rule>
57
58<rule>
59 <id>
[12872]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>
[11682]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>
[12872]339 Safe
[11682]340 </severity>
341 <kind>
342 Methods
343 </kind>
[12872]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>
[11682]350</rule>
351
352<rule>
353 <id>
[12872]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>
[11682]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>
[13595]498 NonImpl_Interface_Added_Abstract_Method
499 </id>
500 <severity>
501 Safe
502 </severity>
503 <kind>
504 Types
505 </kind>
506 <change>
507 Abstract method @target has been added to this interface.
508 </change>
509 <effect>
510 No effect.
511 </effect>
512</rule>
513
514<rule>
515 <id>
[11682]516 Class_Method_Became_Abstract
517 </id>
518 <severity>
519 High
520 </severity>
521 <kind>
522 Types
523 </kind>
524 <change>
525 Method @target became abstract.
526 </change>
527 <effect>
528 A client program may be interrupted by **InstantiationError** exception.
529 </effect>
530</rule>
531
532<rule>
533 <id>
534 Class_Method_Became_NonAbstract
535 </id>
536 <severity>
537 Low
538 </severity>
539 <kind>
540 Types
541 </kind>
542 <change>
543 Abstract method @target became non-abstract.
544 </change>
545 <effect>
546 Some methods in this class may change behavior.
547 </effect>
548</rule>
549
550<rule>
551 <id>
552 Interface_Method_Became_NonDefault
553 </id>
554 <severity>
555 High
556 </severity>
557 <kind>
558 Types
559 </kind>
560 <change>
561 Method @target became non-default.
562 </change>
563 <effect>
564 A client program may be interrupted by **AbstractMethodError** exception.
565 </effect>
566</rule>
567
568<rule>
569 <id>
570 Interface_Method_Became_Default
571 </id>
572 <severity>
573 Safe
574 </severity>
575 <kind>
576 Types
577 </kind>
578 <change>
579 Method @target became default.
580 </change>
581 <effect>
582 No effect.
583 </effect>
584</rule>
585
586<rule>
587 <id>
588 Class_Overridden_Method
589 </id>
590 <severity>
591 Low
592 </severity>
593 <kind>
594 Types
595 </kind>
596 <change>
597 Method @old_value has been overridden by @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 Class_Method_Moved_Up_Hierarchy
607 </id>
608 <severity>
609 Low
610 </severity>
611 <kind>
612 Types
613 </kind>
614 <change>
615 Method @old_value has been moved up type hierarchy to @new_value.
616 </change>
617 <effect>
618 Method @new_value will be called instead of @old_value in a client program.
619 </effect>
620</rule>
621
622<rule>
623 <id>
624 Abstract_Class_Added_Super_Interface
625 </id>
626 <severity>
627 Safe
628 </severity>
629 <kind>
630 Types
631 </kind>
632 <change>
633 Added super-interface @target.
634 </change>
635 <effect>
636 No effect.
637 </effect>
638</rule>
639
640<rule>
641 <id>
642 Abstract_Class_Added_Super_Interface_Invoked_By_Others
643 </id>
644 <severity>
645 Medium
646 </severity>
647 <kind>
648 Types
649 </kind>
650 <change>
651 Added super-interface @target.
652 </change>
653 <effect>
654 If abstract methods from an added super-interface must be implemented by client then it may be interrupted by **AbstractMethodError** exception.
655
656 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.
657 </effect>
658</rule>
659
660<rule>
661 <id>
662 Abstract_Class_Added_Super_Interface_With_Implemented_Methods
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
681 </id>
682 <severity>
683 Safe
684 </severity>
685 <kind>
686 Types
687 </kind>
688 <change>
689 Added super-interface @target.
690 </change>
691 <effect>
692 No effect.
693 </effect>
694</rule>
695
696<rule>
697 <id>
698 Interface_Added_Super_Interface_Used_By_Others
699 </id>
700 <severity>
701 Medium
702 </severity>
703 <kind>
704 Types
705 </kind>
706 <change>
707 Added super-interface @target.
708 </change>
709 <effect>
710 If abstract methods from an added super-interface must be implemented by client then it may be interrupted by **AbstractMethodError** exception.
711
712 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.
713 </effect>
714</rule>
715
716<rule>
717 <id>
718 Interface_Added_Super_Interface_With_Implemented_Methods
719 </id>
720 <severity>
721 Safe
722 </severity>
723 <kind>
724 Types
725 </kind>
726 <change>
727 Added super-interface @target.
728 </change>
729 <effect>
730 No effect.
731 </effect>
732</rule>
733
734<rule>
735 <id>
736 Interface_Added_Super_Constant_Interface
737 </id>
738 <severity>
739 Low
740 </severity>
741 <kind>
742 Types
743 </kind>
744 <change>
745 Added super-interface @target containing constants only.
746 </change>
747 <effect>
748 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.
749 </effect>
750</rule>
751
752<rule>
753 <id>
754 Interface_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 Class_Removed_Super_Interface
773 </id>
774 <severity>
775 High
776 </severity>
777 <kind>
778 Types
779 </kind>
780 <change>
781 Removed super-interface @target.
782 </change>
783 <effect>
784 A client program may be interrupted by **NoSuchMethodError** exception.
785 </effect>
786</rule>
787
788<rule>
789 <id>
790 Interface_Removed_Super_Constant_Interface
791 </id>
792 <severity>
793 Safe
794 </severity>
795 <kind>
796 Types
797 </kind>
798 <change>
799 Removed super-interface @target containing constants only.
800 </change>
801 <effect>
802 No effect.
803 </effect>
804</rule>
805
806<rule>
807 <id>
808 Added_Super_Class
809 </id>
810 <severity>
811 Low
812 </severity>
813 <kind>
814 Types
815 </kind>
816 <change>
817 Added super-class @target.
818 </change>
819 <effect>
820 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.
821 </effect>
822</rule>
823
824<rule>
825 <id>
826 Abstract_Class_Added_Super_Abstract_Class
827 </id>
828 <severity>
829 Safe
830 </severity>
831 <kind>
832 Types
833 </kind>
834 <change>
835 Added abstract super-class @target.
836 </change>
837 <effect>
838 No effect.
839 </effect>
840</rule>
841
842<rule>
843 <id>
844 Abstract_Class_Added_Super_Abstract_Class_Invoked_By_Others
845 </id>
846 <severity>
847 Medium
848 </severity>
849 <kind>
850 Types
851 </kind>
852 <change>
853 Added abstract super-class @target.
854 </change>
855 <effect>
856 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.
857 </effect>
858</rule>
859
860<rule>
861 <id>
862 Removed_Super_Class
863 </id>
864 <severity>
865 Medium
866 </severity>
867 <kind>
868 Types
869 </kind>
870 <change>
871 Removed super-class @target.
872 </change>
873 <effect>
874 Access of a client program to the fields or methods of the old super-class may be interrupted by **NoSuchFieldError** or **NoSuchMethodError** exceptions.
875 </effect>
876</rule>
877
878<rule>
879 <id>
880 Changed_Super_Class
881 </id>
882 <severity>
[12872]883 Low
[11682]884 </severity>
885 <kind>
886 Types
887 </kind>
888 <change>
889 Superclass has been changed from @old_value to @new_value.
890 </change>
891 <effect>
892 1) Access of a client program to the fields or methods of the old super-class may be interrupted by **NoSuchFieldError** or **NoSuchMethodError** exceptions.
893 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.
894 </effect>
895</rule>
896
897<rule>
898 <id>
899 Class_Added_Field
900 </id>
901 <severity>
902 Safe
903 </severity>
904 <kind>
905 Fields
906 </kind>
907 <change>
908 Field @target has been added to this class.
909 </change>
910 <effect>
911 No effect.
912 </effect>
913</rule>
914
915<rule>
916 <id>
917 Class_Added_Field_Non_Safe
918 </id>
919 <severity>
920 Low
921 </severity>
922 <kind>
923 Fields
924 </kind>
925 <change>
926 Field @target has been added to this class.
927 </change>
928 <effect>
929 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.
930 </effect>
931</rule>
932
933<rule>
934 <id>
935 Interface_Added_Field
936 </id>
937 <severity>
938 Safe
939 </severity>
940 <kind>
941 Fields
942 </kind>
943 <change>
944 Field @target has been added to this interface.
945 </change>
946 <effect>
947 No effect.
948 </effect>
949</rule>
950
951<rule>
952 <id>
953 Interface_Added_Field_Non_Safe
954 </id>
955 <severity>
956 Low
957 </severity>
958 <kind>
959 Fields
960 </kind>
961 <change>
962 Field @target has been added to this interface.
963 </change>
964 <effect>
965 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.
966 </effect>
967</rule>
968
969<rule>
970 <id>
971 Renamed_Field
972 </id>
973 <severity>
974 High
975 </severity>
976 <kind>
977 Fields
978 </kind>
979 <change>
980 Field @target has been renamed to @new_value.
981 </change>
982 <effect>
983 A client program may be interrupted by **NoSuchFieldError** exception.
984 </effect>
985</rule>
986
987<rule>
988 <id>
989 Renamed_Constant_Field
990 </id>
991 <severity>
992 Low
993 </severity>
994 <kind>
995 Fields
996 </kind>
997 <change>
998 Field @target of type @field_type with the compile-time constant value @field_value has been renamed to @new_value.
999 </change>
1000 <effect>
1001 A client program may change behavior.
1002 </effect>
1003</rule>
1004
1005<rule>
1006 <id>
1007 Removed_NonConstant_Field
1008 </id>
1009 <severity>
1010 High
1011 </severity>
1012 <kind>
1013 Fields
1014 </kind>
1015 <change>
1016 Field @target of type @field_type has been removed from this @type_type.
1017 </change>
1018 <effect>
1019 A client program may be interrupted by **NoSuchFieldError** exception.
1020 </effect>
1021</rule>
1022
1023<rule>
1024 <id>
1025 Removed_Constant_Field
1026 </id>
1027 <severity>
1028 Low
1029 </severity>
1030 <kind>
1031 Fields
1032 </kind>
1033 <change>
1034 Field @target of type @field_type with the compile-time constant value @field_value has been removed from this @type_type.
1035 </change>
1036 <effect>
1037 A client program may change behavior.
1038 </effect>
1039</rule>
1040
1041<rule>
1042 <id>
1043 Changed_Field_Type
1044 </id>
1045 <severity>
1046 High
1047 </severity>
1048 <kind>
1049 Fields
1050 </kind>
1051 <change>
1052 Type of field @target has been changed from @old_value to @new_value.
1053 </change>
1054 <effect>
1055 A client program may be interrupted by **NoSuchFieldError** exception.
1056 </effect>
1057</rule>
1058
1059<rule>
1060 <id>
1061 Changed_Field_Access
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_Field_Access_To_Package_Private
1080 </id>
1081 <severity>
1082 High
1083 </severity>
1084 <kind>
1085 Fields
1086 </kind>
1087 <change>
1088 Access level of field @target has been changed from @old_value to @new_value.
1089 </change>
1090 <effect>
1091 A client program may be interrupted by **IllegalAccessError** exception.
1092 </effect>
1093</rule>
1094
1095<rule>
1096 <id>
1097 Changed_Final_Field_Value
1098 </id>
1099 <severity>
1100 Medium
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 Changed_Final_Version_Field_Value
1116 </id>
1117 <severity>
1118 Low
1119 </severity>
1120 <kind>
1121 Fields
1122 </kind>
1123 <change>
1124 Value of final field @target of type @field_type has been changed from @old_value to @new_value.
1125 </change>
1126 <effect>
1127 Old value of the field will be inlined to the client code at compile-time and will be used instead of a new one.
1128 </effect>
1129</rule>
1130
1131<rule>
1132 <id>
1133 Field_Became_Final
1134 </id>
1135 <severity>
1136 Medium
1137 </severity>
1138 <kind>
1139 Fields
1140 </kind>
1141 <change>
1142 Field @target became final.
1143 </change>
1144 <effect>
1145 A client program may be interrupted by **IllegalAccessError** exception when attempts to assign new value to the field.
1146 </effect>
1147</rule>
1148
1149<rule>
1150 <id>
1151 Field_Became_NonFinal
1152 </id>
1153 <severity>
1154 Low
1155 </severity>
1156 <kind>
1157 Fields
1158 </kind>
1159 <change>
1160 Field @target became non-final.
1161 </change>
1162 <effect>
1163 Old value of the field will be inlined to the client code at compile-time and will be used instead of a new one.
1164 </effect>
1165</rule>
1166
1167<rule>
1168 <id>
1169 NonConstant_Field_Became_Static
1170 </id>
1171 <severity>
1172 High
1173 </severity>
1174 <kind>
1175 Fields
1176 </kind>
1177 <change>
1178 Non-final field @target became 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 NonConstant_Field_Became_NonStatic
1188 </id>
1189 <severity>
1190 High
1191 </severity>
1192 <kind>
1193 Fields
1194 </kind>
1195 <change>
1196 Non-constant field @target became non-static.
1197 </change>
1198 <effect>
1199 A client program may be interrupted by **IncompatibleClassChangeError** exception.
1200 </effect>
1201</rule>
1202
1203<rule>
1204 <id>
1205 Class_Became_Interface
1206 </id>
1207 <severity>
1208 High
1209 </severity>
1210 <kind>
1211 Types
1212 </kind>
1213 <change>
1214 This **class** became **interface**.
1215 </change>
1216 <effect>
1217 A client program may be interrupted by **IncompatibleClassChangeError** or **InstantiationError** exception dependent on the usage of this class.
1218 </effect>
1219</rule>
1220
1221<rule>
1222 <id>
1223 Interface_Became_Class
1224 </id>
1225 <severity>
1226 High
1227 </severity>
1228 <kind>
1229 Types
1230 </kind>
1231 <change>
1232 This **interface** became **class**.
1233 </change>
1234 <effect>
1235 A client program may be interrupted by **IncompatibleClassChangeError** exception.
1236 </effect>
1237</rule>
1238
1239<rule>
1240 <id>
[12872]1241 Interface_Became_Generic
1242 </id>
1243 <severity>
1244 Safe
1245 </severity>
1246 <kind>
1247 Types
1248 </kind>
1249 <change>
1250 This interface became **generic** (@new_value).
1251 </change>
1252 <effect>
1253 No effect.
1254 </effect>
1255</rule>
1256
1257<rule>
1258 <id>
1259 Interface_Became_Raw
1260 </id>
1261 <severity>
1262 Low
1263 </severity>
1264 <kind>
1265 Types
1266 </kind>
1267 <change>
1268 This interface became **raw**.
1269 </change>
1270 <effect>
1271 No effect.
1272 </effect>
1273</rule>
1274
1275<rule>
1276 <id>
1277 Class_Became_Generic
1278 </id>
1279 <severity>
1280 Safe
1281 </severity>
1282 <kind>
1283 Types
1284 </kind>
1285 <change>
1286 This class became **generic** (@new_value).
1287 </change>
1288 <effect>
1289 No effect.
1290 </effect>
1291</rule>
1292
1293<rule>
1294 <id>
1295 Class_Became_Raw
1296 </id>
1297 <severity>
1298 Low
1299 </severity>
1300 <kind>
1301 Types
1302 </kind>
1303 <change>
1304 This class became **raw**.
1305 </change>
1306 <effect>
1307 No effect.
1308 </effect>
1309</rule>
1310
1311<rule>
1312 <id>
[11682]1313 Class_Became_Final
1314 </id>
1315 <severity>
1316 High
1317 </severity>
1318 <kind>
1319 Types
1320 </kind>
1321 <change>
1322 This class became final.
1323 </change>
1324 <effect>
1325 A client program may be interrupted by **VerifyError** exception.
1326 </effect>
1327</rule>
1328
1329<rule>
1330 <id>
1331 Class_Became_Abstract
1332 </id>
1333 <severity>
1334 High
1335 </severity>
1336 <kind>
1337 Types
1338 </kind>
1339 <change>
1340 This class became abstract.
1341 </change>
1342 <effect>
1343 A client program may be interrupted by **InstantiationError** exception.
1344 </effect>
1345</rule>
1346
1347<rule>
1348 <id>
1349 Removed_Class
1350 </id>
1351 <severity>
1352 High
1353 </severity>
1354 <kind>
1355 Types
1356 </kind>
1357 <change>
1358 This class has been removed.
1359 </change>
1360 <effect>
1361 A client program may be interrupted by **NoClassDefFoundError** exception.
1362 </effect>
1363</rule>
1364
1365<rule>
1366 <id>
1367 Removed_Interface
1368 </id>
1369 <severity>
1370 High
1371 </severity>
1372 <kind>
1373 Types
1374 </kind>
1375 <change>
1376 This interface has been removed.
1377 </change>
1378 <effect>
1379 A client program may be interrupted by **NoClassDefFoundError** exception.
1380 </effect>
1381</rule>
1382
[13595]1383<rule>
1384 <id>
1385 Added_Annotation_Default_Element
1386 </id>
1387 <severity>
1388 Safe
1389 </severity>
1390 <kind>
1391 Types
1392 </kind>
1393 <change>
1394 Element @target of type @elem_type with default value @new_value has been added to this annotation type.
1395 </change>
1396 <effect>
1397 No effect.
1398 </effect>
1399</rule>
1400
1401<rule>
1402 <id>
1403 Added_Annotation_NonDefault_Element
1404 </id>
1405 <severity>
1406 Safe
1407 </severity>
1408 <kind>
1409 Types
1410 </kind>
1411 <change>
1412 Element @target of type @elem_type without a default value has been added to this annotation type.
1413 </change>
1414 <effect>
1415 No effect.
1416 </effect>
1417</rule>
1418
1419<rule>
1420 <id>
1421 Removed_Annotation_Default_Element
1422 </id>
1423 <severity>
1424 Safe
1425 </severity>
1426 <kind>
1427 Types
1428 </kind>
1429 <change>
1430 Element @target of type @elem_type with default value @old_value has been removed from this annotation type.
1431 </change>
1432 <effect>
1433 No effect.
1434 </effect>
1435</rule>
1436
1437<rule>
1438 <id>
1439 Removed_Annotation_NonDefault_Element
1440 </id>
1441 <severity>
1442 Safe
1443 </severity>
1444 <kind>
1445 Types
1446 </kind>
1447 <change>
1448 Element @target of type @elem_type without a default value has been removed from this annotation type.
1449 </change>
1450 <effect>
1451 No effect.
1452 </effect>
1453</rule>
1454
1455<rule>
1456 <id>
1457 Annotation_Element_Changed_Default_Value
1458 </id>
1459 <severity>
1460 Safe
1461 </severity>
1462 <kind>
1463 Types
1464 </kind>
1465 <change>
1466 Changed default value of the element @target from @old_value to @new_value in this annotation type.
1467 </change>
1468 <effect>
1469 No effect.
1470 </effect>
1471</rule>
1472
1473<rule>
1474 <id>
1475 Annotation_Element_Removed_Default_Value
1476 </id>
1477 <severity>
1478 Safe
1479 </severity>
1480 <kind>
1481 Types
1482 </kind>
1483 <change>
1484 Removed default value @old_value from the element @target of this annotation type.
1485 </change>
1486 <effect>
1487 No effect.
1488 </effect>
1489</rule>
1490
1491<rule>
1492 <id>
1493 Annotation_Element_Added_Default_Value
1494 </id>
1495 <severity>
1496 Safe
1497 </severity>
1498 <kind>
1499 Types
1500 </kind>
1501 <change>
1502 Added default value @new_value for the element @target of this annotation type.
1503 </change>
1504 <effect>
1505 No effect.
1506 </effect>
1507</rule>
1508
1509<rule>
1510 <id>
1511 Annotation_Element_Changed_Type
1512 </id>
1513 <severity>
1514 Safe
1515 </severity>
1516 <kind>
1517 Types
1518 </kind>
1519 <change>
1520 Changed type of the element @target from @old_value to @new_value in this annotation type.
1521 </change>
1522 <effect>
1523 No effect.
1524 </effect>
1525</rule>
1526
1527<rule>
1528 <id>
1529 Annotation_Element_Changed_Type_Safe
1530 </id>
1531 <severity>
1532 Safe
1533 </severity>
1534 <kind>
1535 Types
1536 </kind>
1537 <change>
1538 Changed type of the element @target from @old_value to @new_value in this annotation type.
1539 </change>
1540 <effect>
1541 No effect.
1542 </effect>
1543</rule>
1544
[11682]1545</rules>
Note: See TracBrowser for help on using the repository browser.