[ 
http://jira.codehaus.org/browse/MEXEC-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerome Lacoste closed MEXEC-89.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.1

$ svn commit -m "MEXEC-89 report exec:java program exceptions as they occur, 
not at the end of program execution. All exceptions are logged contrary to 
previous behavior. Not sure why we suppressed them. Also fixes MEXEC-80"
Sending        src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java
Transmitting file data .
Committed revision 12490

> 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
>            Assignee: Jerome Lacoste
>             Fix For: 1.2.1
>
>         Attachments: ExecJavaMojo.java.patch, 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


Reply via email to