JDK-7178591 : use HKLM/Software for registering handler for JNLP file extension
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2012-06-20
  • Updated: 2017-08-21
  • Resolved: 2012-06-27
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
7u6Fixed 8 b45Fixed
Related Reports
Relates :  
Relates :  
Description
re-implement 7167348

Comments
We don't have cases to check the register key directly. But we do have the black box cases to test the association of the jnlp file and javaws command in javaws suite. Not sure if we could say we cover the bug.
09-12-2013

With jre8 b118. Verified that those keys exist: // key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jnlp // value name: (Default) value: JNLPFile // value name: Content Type value: application/x-java-jnlp-file (tell // browser to invoke us when something of this mime type is downloaded) // // key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JNLPFile // value name: EditFlags value: 0x00010000 (OpenIsSafe) (Avoid warning // and invoking javaws to open arbitary files) // // key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JNLPFile\Shell\Open // value name: (Default) value: &Launch (default action when JNLP file // is double clicked) // // key: HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JNLPFile\Shell\Open\Command // value name: (Default) value: "<path to javaws>" "<%1>" (command // to launch when JNLP file is downloaded or double-clicked. %1 will be // file path to JNLP file) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\javaws.exe This key doesn't exist: HKLM\Software\Classes\Applications\javaws.exe. But these keys exists: HKLM\Software\Classes\Applications\javaw.exe HKLM\Software\Classes\Applications\java.exe I think they are the expected keys. Seeing that "Assume that HKLM\Software\Classes\Applications\javaws.exe is not used anymore too.", I think this point is not needed to verify. So this bug is passed.
09-12-2013

EVALUATION original change was backed out, this is the new change with 2 problem fixed: 1. Ensure GetLatestJavawsVersion will return a initialized string, even if nothing is found. Previous this was causing tcscpy to crash. Also make sure the right variable is used for tcscpy. 2. Fix another problem in SetIEPluginREGKeys to make sure all variables in rgs file is processed.
21-06-2012