JDK-7078738 : investigate multiple applets on the same page using DT to install JRE or FX
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2011-08-13
  • Updated: 2011-12-19
  • Resolved: 2011-12-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u4Fixed 8 b18Fixed
Description
Current implementation of Deploy toolkit may not be able to handle install status reporting when multiple applets on the same page requesting install of a JRE or FX.

e.g. it may not handle the case when multiple applets on the same page
 requesting a install of FX version X. Say applet A is deployed
 without install javascript callback and applet B on the same page
 want to use the same JRE and has install callback. B will not know
 about FX version X is being installed.

Comments
EVALUATION Added an InstallChecker class which will be used by both JRE and FX install. The class maintains the following 2 data structures: //map for storing installing JRE/FX version and install status typedef map<_bstr_t, int> INSTALLSTATUSMAP; //map for storing installing JRE/FX version and CALLBACKSET typedef map<_bstr_t, CALLBACKSET> INSTALLCALLBACKMAP; //set for storing pointer to InstallCallback object typedef set<InstallCallback *> CALLBACKSET;
19-11-2011