Exceptions are not reported until program termination
-----------------------------------------------------
Key: MEXEC-89
URL: http://jira.codehaus.org/browse/MEXEC-89
Project: Maven 2.x Exec Plugin
Issue Type: Bug
Components: java
Affects Versions: 1.2
Reporter: Trevor Harmon
Attachments: threadtest.zip
If a Java program is launched with exec:java, and the program throws an
exception, the exception is suppressed until the program terminates. This is
very different from the standard "java" launcher, which reports any unhandled
exceptions immediately. The bug is especially problematic for GUI apps, in
which event handler threads may throw exceptions while the main thread
continues to run, and an exception could be thrown without the user's
knowledge. (See related bug MEXEC-80, which is merely a special case of this
one.)
Attached is a very simple test case that reproduces the problem.
--
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