RFC: Better Netx error message

Deepak Bhole dbhole at redhat.com
Mon May 25 10:19:01 PDT 2009


* Omair Majid <omajid at redhat.com> [2009-05-25 10:21]:
> Hi,
>
> Netx's error messages tend to be cryptic. For example, running javaws on  
> a jnlp with missing 'title' and 'home' elements:
> $ javaws Broken.jnlp
> netx: null
> That doesnt make it clear if javaws did anything. Perhaps it ran to  
> completion? The attached patch makes the error a lot more explicit:
> $ java net.sourceforge.jnlp.runtime.Boot Broken.jnlp
> netx: Unexpected java.lang.NullPointerException at  
> java.lang.Thread.init(Thread.java:366)
>
> ChangeLog:
> 2009-05-25  Omair Majid  <omajid at redhat.com>
>     * rt/net/sourceforge/jnlp/resources/Messages.properties: Add
>     RUnexpected to show generic information
>     * rt/net/sourceforge/jnlp/runtime/Boot.java (run): Show more
>     information about the fatal exception.
>
>
> Any comments?
>

Looks good. Please go ahead and apply.

Deepak



More information about the distro-pkg-dev mailing list