aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/icedteanp')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java2
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();