Appendix D. Deprecated Thread Methods

Josh Bloch [1] wrote the following article to explain why the Thread.stop, Thread.suspend, Thread.resume, and Runtime.runFinalizersOnExit methods were deprecated in the 1.1 release of the Java™ platform.

[1] Josh Bloch is a Senior Engineer at Sun Microsystems and the designer of the Collections package.

Deprecated Thread Methods

Why Is Thread.stop Deprecated?

Could I Catch the ThreadDeath Exception and Fix the Damaged Object?

Why are Thread.suspend and Thread.resume Deprecated?

What Should I Use Instead of Thread.suspend and Thread.resume?

What about Thread.destroy?

Why Is Runtime.runFinalizersOnExit Deprecated?





The Java Tutorial(c) A Short Course on the Basics
The Java Tutorial: A Short Course on the Basics, 4th Edition
ISBN: 0321334205
EAN: 2147483647
Year: 2002
Pages: 125
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net