It seems rather odd that isAlive returns true on the main thread even after main()
returns. This especially seems odd since I can invoke stop on the main thread without
obvious effect, except that isAlive now returns false. How special do we want to document
the main thread to be?
returns. This especially seems odd since I can invoke stop on the main thread without
obvious effect, except that isAlive now returns false. How special do we want to document
the main thread to be?
- relates to
-
JDK-4168013 JVM_StopThread should not set the stillborn bit for running threads
- Closed