diff options
author | Omair Majid <[email protected]> | 2011-04-20 15:23:49 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2011-04-20 15:23:49 -0400 |
commit | 47fd4d77cb0c29ac1143d1bb1f09822acdb2c282 (patch) | |
tree | 809f0aba700f9c2fdf089276086003e83a67194c /plugin | |
parent | f11b95ad87e7bc39ea732dd407a6c932f9236a18 (diff) |
Dont show error dialogs on exceptions with the plugin
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java index e0fb88a..7086b08 100644 --- a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java +++ b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java @@ -58,6 +58,7 @@ import java.util.List; import java.util.Map; import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.DefaultLaunchHandler; import netscape.javascript.JSObjectCreatePermission; class Signature { @@ -242,6 +243,7 @@ public class PluginAppletSecurityContext { // that JNLPRuntime will try to install if (System.getSecurityManager() == null) { JNLPRuntime.initialize(/* isApplication */false); + JNLPRuntime.setDefaultLaunchHandler(new DefaultLaunchHandler()); } JNLPRuntime.disableExit(); |