/hg/icedtea-web: When exiting on failure, use appropriate exit code
omajid at icedtea.classpath.org
omajid at icedtea.classpath.org
Mon Jan 24 07:21:32 PST 2011
changeset 804cd535d907 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=804cd535d907
author: Omair Majid <omajid at redhat.com>
date: Mon Jan 24 10:20:57 2011 -0500
When exiting on failure, use appropriate exit code
2011-01-24 Omair Majid <omajid at redhat.com>
* netx/net/sourceforge/jnlp/Launcher.java: Exit with error code
* netx/net/sourceforge/jnlp/NetxPanel.java: Likewise.
diffstat:
3 files changed, 7 insertions(+), 2 deletions(-)
ChangeLog | 5 +++++
netx/net/sourceforge/jnlp/Launcher.java | 2 +-
netx/net/sourceforge/jnlp/NetxPanel.java | 2 +-
diffs (36 lines):
diff -r a9e67985cb7a -r 804cd535d907 ChangeLog
--- a/ChangeLog Fri Jan 21 16:42:18 2011 -0500
+++ b/ChangeLog Mon Jan 24 10:20:57 2011 -0500
@@ -1,3 +1,8 @@ 2011-01-20 Andrew Su <asu at redhat.com>
+2011-01-24 Omair Majid <omajid at redhat.com>
+
+ * netx/net/sourceforge/jnlp/Launcher.java: Exit with error code
+ * netx/net/sourceforge/jnlp/NetxPanel.java: Likewise.
+
2011-01-20 Andrew Su <asu at redhat.com>
* netx/net/sourceforge/jnlp/AppletLog.java: Restrict log files to
diff -r a9e67985cb7a -r 804cd535d907 netx/net/sourceforge/jnlp/Launcher.java
--- a/netx/net/sourceforge/jnlp/Launcher.java Fri Jan 21 16:42:18 2011 -0500
+++ b/netx/net/sourceforge/jnlp/Launcher.java Mon Jan 24 10:20:57 2011 -0500
@@ -834,7 +834,7 @@ public class Launcher {
exception = ex;
// Exit if we can't launch the application.
if (exitOnFailure)
- System.exit(0);
+ System.exit(1);
}
}
diff -r a9e67985cb7a -r 804cd535d907 netx/net/sourceforge/jnlp/NetxPanel.java
--- a/netx/net/sourceforge/jnlp/NetxPanel.java Fri Jan 21 16:42:18 2011 -0500
+++ b/netx/net/sourceforge/jnlp/NetxPanel.java Mon Jan 24 10:20:57 2011 -0500
@@ -104,7 +104,7 @@ public class NetxPanel extends AppletVie
// Assume user has indicated he does not trust the
// applet.
if (exitOnFailure)
- System.exit(0);
+ System.exit(1);
}
applet = appInst.getApplet();
More information about the distro-pkg-dev
mailing list