Mercurial > hg > release > icedtea6-1.10
changeset 1563:9293bf2e49a9
2009-05-25 Omair Majid <omajid@redhat.com>
* rt/net/sourceforge/jnlp/resources/Messages.properties: Add
RUnexpected to show generic unexpected information.
* rt/net/sourceforge/jnlp/runtime/Boot.java (run): Show more
information about the fatal exception.
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Mon, 25 May 2009 13:54:44 -0400 |
parents | 4501bcea5ffd |
children | c562fe339799 |
files | ChangeLog rt/net/sourceforge/jnlp/resources/Messages.properties rt/net/sourceforge/jnlp/runtime/Boot.java |
diffstat | 3 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon May 25 12:40:45 2009 +0200 +++ b/ChangeLog Mon May 25 13:54:44 2009 -0400 @@ -1,3 +1,10 @@ +2009-05-25 Omair Majid <omajid@redhat.com> + + * rt/net/sourceforge/jnlp/resources/Messages.properties: Add + RUnexpected to show generic unexpected information. + * rt/net/sourceforge/jnlp/runtime/Boot.java (run): Show more + information about the fatal exception. + 2009-05-25 Xerxes RĂ„nby <xerxes@zafena.se> * acinclude.m4: Fix: Renamed TARGET_ARCH to CROSS_TARGET_ARCH
--- a/rt/net/sourceforge/jnlp/resources/Messages.properties Mon May 25 12:40:45 2009 +0200 +++ b/rt/net/sourceforge/jnlp/resources/Messages.properties Mon May 25 13:54:44 2009 -0400 @@ -105,6 +105,7 @@ RCantReplaceSM=Changing the SecurityManager is not allowed. RDenyStopped=Stopped applications have no permissions. RExitNoApp=Can not exit the JVM because the current application cannot be determined. +RUnexpected=Unexpected {0} at {1} # Boot options, message should be shorter than this ----------------> BOUsage=javaws [-run-options] <jnlp file>
--- a/rt/net/sourceforge/jnlp/runtime/Boot.java Mon May 25 12:40:45 2009 +0200 +++ b/rt/net/sourceforge/jnlp/runtime/Boot.java Mon May 25 13:54:44 2009 -0400 @@ -209,7 +209,8 @@ if (JNLPRuntime.isDebug()) ex.printStackTrace(); - fatalError(ex.getMessage()); + fatalError(JNLPRuntime.getMessage("RUnexpected", + new Object[] {ex.toString(), ex.getStackTrace()[0]} )); } return null;