JDK-7073627 : Eliminate hardcoded callback javascript function name regarding installing JRE/FX via DT
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 7-client
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2011-08-01
  • Updated: 2011-11-28
  • Resolved: 2011-11-28
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
7u2 b03Fixed 8Fixed
Related Reports
Relates :  
Relates :  
Description
Current implementation of 7052499 has a hardcoded javascript function name "OnJREInstall" for the DT to callback to javascript for reporting install status for JRE and FX installation.

This CR is to eliminate the hardcoded javascript function name and to allow developer to specify any function name in javascript for DT to callback.

Comments
EVALUATION Added optional arg which is a reference to the javascript callback function to the installJRE, installLatestJRE, and installJavaFX DT functions. e.g. developer can pass in a javascript function to the installJRE function as follows: function OnJREInstall( installStatus) { showValue(installStatus); } deployJava.installJRE("1.6.0_20", OnJREInstall); the existing way without the optional arg still works.
13-08-2011