why and how the stop,suspend,resume methods are depricated. How to perform the same operations in jdk1.2
posted 16 years ago
Apparently they are inherently unsafe methods which could leave the monitors in an inconsistent state and/or cause a deadlock. If you have JavaDoc API, see the Why are Thread.stop, Thread.suspend and Thread.resume Deprecated?. link under stop() method. It gives you a really nice( unlike me ) explanation. Ajith
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).