[RFC][icedtea-web] Launch errors are not being printed to terminal.

Danesh Dadachanji ddadacha at redhat.com
Fri Mar 9 09:16:01 PST 2012


If javaws is run with -headless and a launch error occurs, no message is 
printed and javaws exits. An exception is only shown if -verbose is 
passed too. This patch fixes it so that if -headless OR -verbose is 
used, the error and stacktrace are shown.

Furthermore, when javaws -verbose is used (_without_ -headless), the 
stacktrace is printed to stderr too. This will come in handy once GUI 
testing for applets is available.

+2012-03-09  Danesh Dadachanji  <ddadacha at redhat.com>
+
+	Fix output of launch errors when headless or verbose are used.
+	* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
+	(printMessage): Now prints the message to stderr. Also prints a stacktrace
+	if runtime is either headless or verbose.
+	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java
+	(launchError):
+


Okay for HEAD?

Cheers,
Danesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print-launch-errors-01.patch
Type: text/x-patch
Size: 2476 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120309/48de329e/print-launch-errors-01.patch 


More information about the distro-pkg-dev mailing list