The new Java Plug-In has a few remaining OJI dependencies for fetching cookie, proxy, and browser authentication information. To make these queries it fetches the nsIServiceManager and AddRefs it once at the beginning of time. The new Java Plug-In doesn't support being unloaded from the browser, but the one AddRef without any Release call causes assertion failures upon browser shutdown in debug builds. We should consider fetching the service manager on a per-MozPluginInstance basis and always releasing it upon shutdown of the plugin instance.
If Mozilla provides NPAPI entry points for this functionality, it would be even better to simply move to those APIs and remove the remaining nsIServiceManager and OJI dependencies altogether.
If Mozilla provides NPAPI entry points for this functionality, it would be even better to simply move to those APIs and remove the remaining nsIServiceManager and OJI dependencies altogether.
- duplicates
-
JDK-7111062 clean up use of old mozilla header for cookie/proxy service
-
- Closed
-