posted 22 years ago
The truth is, no one knows that. As APIs evolve, methods will get deprecated to encourage developers to start using other methods. It's a good system though; on other platforms/libraries, sometimes you don't get a warning. You just get a bunch of compiler errors when you try using the latest version of the library.
Deprecation is like the yellow light on American traffic signals...it's letting you know that a red light is coming. So if you're a dilgent programmer, as soon as you get a deprecation warning during a compile, you start planning a migration to start using the replacement method. Deprecation also gives you time to do this planning and migration. But the longer you wait, the more likely it becomes that a new version of the JDK will no longer have the method.
However, I'm not aware of a deprecated method that has actually "gone away" yet...but it is bound to happen at some point. There's just no way to predict when that happens.