Mercurial > hg > release > icedtea-web-1.1
changeset 223:a3cbdab9bd7a
Dont show error dialogs on exceptions with the plugin
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Wed, 20 Apr 2011 15:23:49 -0400 |
parents | ad820e40fe56 |
children | 6528c988d538 |
files | ChangeLog plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Apr 20 15:02:56 2011 -0400 +++ b/ChangeLog Wed Apr 20 15:23:49 2011 -0400 @@ -1,3 +1,9 @@ +2011-04-20 Omair Majid <omajid@redhat.com> + + * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java + (PluginAppletSecurityContext): Set the launch handler to the stdout/stderr + based one. + 2011-04-20 Andrew Su <asu@redhat.com> * netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
--- a/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java Wed Apr 20 15:02:56 2011 -0400 +++ b/plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java Wed Apr 20 15:23:49 2011 -0400 @@ -58,6 +58,7 @@ 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 @@ // that JNLPRuntime will try to install if (System.getSecurityManager() == null) { JNLPRuntime.initialize(/* isApplication */false); + JNLPRuntime.setDefaultLaunchHandler(new DefaultLaunchHandler()); } JNLPRuntime.disableExit();