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?

Getting Started

Object-Oriented Programming Concepts

Language Basics

Object Basics and Simple Data Objects

Classes and Inheritance

Interfaces and Packages

Handling Errors Using Exceptions

Threads: Doing Two or More Tasks at Once

I/O: Reading and Writing

User Interfaces That Swing

Appendix A. Common Problems and Their Solutions

Appendix B. Internet-Ready Applets

Appendix C. Collections

Appendix D. Deprecated Thread Methods

Appendix E. Reference



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

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