aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--netx/net/sourceforge/jnlp/Launcher.java2
-rw-r--r--netx/net/sourceforge/jnlp/NetxPanel.java2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d6c341..7ff5137 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-24 Omair Majid <[email protected]>
+
+ * netx/net/sourceforge/jnlp/Launcher.java: Exit with error code
+ * netx/net/sourceforge/jnlp/NetxPanel.java: Likewise.
+
2011-01-20 Andrew Su <[email protected]>
* netx/net/sourceforge/jnlp/AppletLog.java: Restrict log files to
diff --git a/netx/net/sourceforge/jnlp/Launcher.java b/netx/net/sourceforge/jnlp/Launcher.java
index 0fddf85..cff3ee1 100644
--- a/netx/net/sourceforge/jnlp/Launcher.java
+++ b/netx/net/sourceforge/jnlp/Launcher.java
@@ -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 --git a/netx/net/sourceforge/jnlp/NetxPanel.java b/netx/net/sourceforge/jnlp/NetxPanel.java
index 2b3037a..2d723d4 100644
--- a/netx/net/sourceforge/jnlp/NetxPanel.java
+++ b/netx/net/sourceforge/jnlp/NetxPanel.java
@@ -104,7 +104,7 @@ public class NetxPanel extends AppletViewerPanel {
// Assume user has indicated he does not trust the
// applet.
if (exitOnFailure)
- System.exit(0);
+ System.exit(1);
}
applet = appInst.getApplet();