[
http://jira.codehaus.org/browse/MEXEC-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated MEXEC-80:
--------------------------------
Affects Version/s: 1.2
> exec:java squelches the first AWT exception
> -------------------------------------------
>
> Key: MEXEC-80
> URL: http://jira.codehaus.org/browse/MEXEC-80
> Project: Maven 2.x Exec Plugin
> Issue Type: Bug
> Components: java
> Affects Versions: 1.1.1, 1.2
> Environment: Reproducible on Mac OS X 10.6.3 and Windows XP SP3, both
> with Java 1.6.0_20
> Reporter: Trevor Harmon
> Attachments: tracetest.zip
>
>
> When using exec:java to launch a Java program, the first exception that
> occurs in an AWT thread is squelched. Only the second and subsequent
> exceptions appear in the console. This does not happen if the same program is
> executed outside of the Maven environment.
> A simple test case is attached to demonstrate this behavior. To run: "mvn
> install exec:java". You will see a window with a button. Clicking the button
> causes a java.lang.ArithmeticException to be thrown, but the exception does
> not appear in the console. Clicking the button again causes a second
> exception to be thrown. This time it does appear.
> This behavior has been reproduced on Maven 2.2.1 and Maven 3.0-beta-1.
> Run the same program outside of Maven with: "java -cp target/classes
> TraceTest". The exception will appear the first time you click the button.
> This is the expected behavior.
--
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