deprecated classes, methods, ... etc should not be removed, just we can change their implementation.
for example if we have a method called fun1 which has been deprecated by another method called fun2
then we can change fun1 implementation to be
void fun1(){
fun2();
}
this can be done whenever possible, otherwise we can leave the deprecated methods as they are; this will help old applications to upgrade to newer JDKs |