[ http://jira.codehaus.org/browse/MEXEC-6?page=all ]
Jerome Lacoste closed MEXEC-6.
------------------------------
Assignee: Jerome Lacoste
Resolution: Fixed
Fix Version/s: 1.1
The warnings are apparently harmless.
> exec:java should wait until spawned non-daemon threads finish
> -------------------------------------------------------------
>
> Key: MEXEC-6
> URL: http://jira.codehaus.org/browse/MEXEC-6
> Project: Mojo Exec Plugin
> Issue Type: Improvement
> Affects Versions: 1.0.1
> Environment: jdk 1.4
> Reporter: David Smiley
> Assigned To: Jerome Lacoste
> Fix For: 1.1
>
> Attachments: mexec-6.diff
>
>
> exec:java currently only waits until main finishes and then the vm haults
> soon thereafter. If my java executable spawns daemon threads, then your code
> is fine. But if it spawns non-daemon threads, you should be smart enough to
> not quit since there are non-daemon threads still running.
> It's too bad ThreadGroup doesn't have a join since implementing this support
> would be easier if it did.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email