...
The following methods and classes must not be used in new code:
Class or Method | Replacement | Guideline |
---|
java.lang.Character.isJavaLetter() | java.lang.Character.isJavaIdentifierStart() | |
java.lang.Character.isJavaLetterOrDigit() | java.lang.Character.isJavaIdentifierPart() | |
java.lang.Character.isSpace() | java.lang.Character.isWhitespace() | |
java.lang.Thread.stop() | | THI05-J. Do not use Thread.stop() to terminate threads |
java.util.Date , (many methods) | java.util.Calendar | |
java.util.Dictionary | java.util.Map<K,V> | |
java.util.Properties.save() | java.util.Properties.store() | |
Exceptions
MET15-EX0: The use of deprecated or obsolete classes may be ignored if they occur in third-party libraries.
Risk Assessment
Using deprecated or obsolete classes or methods in program code can lead to erroneous behavior.
...