[RFC][icedtea-web] Fix for single instance service with applets using jnlp_href
Danesh Dadachanji
ddadacha at redhat.com
Fri Mar 9 15:12:55 PST 2012
Ping?
On 31/01/12 03:07 PM, Danesh Dadachanji wrote:
> Hi,
>
> Attached is a patch to fix SingleInstanceService to work when applets
> use jnlp_href.
>
> If a single instance exists, it'll throw a fatal exception for the
> second applet and stop running it. The applet passes the args along
> while checking. However, proprietary documentation is unclear about
> which args are passed so for now I have left it as a FIXME until that's
> cleared up.
>
> ChangeLog:
> +2012-01-31 Danesh Dadachanji <ddadacha at redhat.com>
> +
> + Fixed SingleInstanceService to work with jnlp_href.
> + * netx/net/sourceforge/jnlp/Launcher.java
> + (launchApplication): Print existing single instance in debug mode.
> + (launchApplet): Added check for single instance, throws launchError if
> + single instance already exists.
> + (getApplet): Same as above.
> + (launchInstaller): Added TODO reminder for when it is implemented.
> + * netx/net/sourceforge/jnlp/resources/Messages.properties:
> + Added LSingleInstanceExists.
> + * netx/net/sourceforge/jnlp/services/XSingleInstanceService.java
> + (initializeSingleInstance): Modified to always initialize if the
> applet is
> + being run by the plugin.
> + (checkSingleInstanceRunning): Modified args passed to
> SingleInstanceListener.
> + Marked applets' args as FIXME, for now it passes an empty args array.
> +
>
> Okay for HEAD?
>
> Cheers,
> Danesh
More information about the distro-pkg-dev
mailing list