JDK-7112638 : HashMap cannot regonize a NULL _bstr_t as key
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2011-11-16
  • Updated: 2013-09-24
  • 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
when calling js code deployJava.installLatestJRE(), NULL is passed to version parameter in InstallCallback constructor. Later on in InstallCallback hashmap, it get an NULL _bstr_t() as key and plugin crash.
verified with build b255-94.

Comments
Verified on x86 Win 7 using DT native 8-b108, latest live js deployJava.js from java.com, browser does not crash with deployJava.installlatestJRe() call. It works as expected
24-09-2013