[icedtea-web] RFC: Fix for PR852: Classloader not being flushed after close
thomas at m3y3r.de
Thu Jan 26 12:38:25 PST 2012
Am Donnerstag, den 26.01.2012, 13:18 -0500 schrieb Deepak Bhole:
> This patch fixes PR852. I would like to put it in 1.2 in addition to
> 2012-01-26 Deepak Bhole <dbhole at redhat.com>
> PR852: Classloader not being flushed after last applet from a site is closed
> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Added variable
> to count usage for a given ClassLoader instance.
> (getInstance): Decrement use count for a loader after it is merged with
> another. Increment loader use count before returning.
> (incrementLoaderCount): New method. Increments loader use count.
> (decrementLoaderCount): New method. Decrements loader use count.
> * java/sun/applet/PluginAppletViewer.java (appletClose): Decrement loader
> use count when applet is closed.
many thanks for this patch. I did test the patch and it works for me. I
can now login several times using the same java process (i.e. I don't
need to kill the PluginMain process every time I want to login).
More information about the distro-pkg-dev