Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Incomplete
-
1.0.2
-
None
-
None
-
Ubuntu 9.10, Sun Java 1.6.0_16
Description
A jsvc dameon keeps running even if all non-dameon Java threads are exited. It can be reproduced by creating a start class with the usual four, but empty functions. The symtom does not change if init() takes a few seconds of time. I have attached three stack traces, using different jstack options, I don't see anything special, however.
The workaround is to explicitly call System.exit() at places where the system can finish its work.