diff options
author | Deepak Bhole <[email protected]> | 2012-01-27 16:20:22 -0500 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2012-01-27 16:20:22 -0500 |
commit | 83a814966b14deb946e6c9fa9b55a75b9e22472d (patch) | |
tree | fcbbbb299fb410c64aa9f8ae7914775586f3454c /plugin/icedteanp/java/sun | |
parent | 8f98160184cfe24c20677937db590da40ea1926f (diff) |
PR852: Classloader not being flushed after last applet from a site is closed
Diffstat (limited to 'plugin/icedteanp/java/sun')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java index f51c1e8..6f4f2eb 100644 --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java @@ -1625,6 +1625,9 @@ public class PluginAppletViewer extends XEmbeddedFrame appletShutdown(p); appletPanels.removeElement(p); + + // Mark classloader unusable + ((JNLPClassLoader) cl).decrementLoaderUseCount(); try { SwingUtilities.invokeAndWait(new Runnable() { |