[RFC][icedtea-web] Launch errors are not being printed to terminal.
Omair Majid
omajid at redhat.com
Mon Mar 12 17:55:11 PDT 2012
On 03/12/2012 10:59 AM, Danesh Dadachanji wrote:
> I thought so too until I checked where printMessage() was called from.
> See launchWarning in GuiLaunchHandler[1], it explicitly calls
> DefaultLaunchHandler.printMessage(). I didn't look into why it was doing
> that so if you think that's a bug, I can look into it further.
>
Assuming that we want to print the stack trace only in -verbose mode,
how does the attached patch look? (I did get a little side tracked and
fixed problems in printing the exceptions too).
I can rework this if others still think printing the entire stack trace
in -headless mode is a good idea.
Thanks,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print-messages-02.patch
Type: text/x-patch
Size: 19386 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120312/11869b31/print-messages-02.patch
More information about the distro-pkg-dev
mailing list