JDK-7032969 : After Patch-In-Place to 7u1, when uninstall BrowserJavaVersion left pointing to 7u1
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2011-03-31
  • Updated: 2011-04-06
  • Resolved: 2011-04-06
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
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
Steps:
- install 6u25 JRE
- install 7.0 JRE
- run 7u1 online installer to Patch-In-Place JRE from 7.0 to 7u1
- uninstall 7u1 JRE

Expected: HKLM\SOFTWARE\JavaSoft\Java Runtime Environment, BrowserJavaVersion is 1.6.0_25

Actual: HKLM\SOFTWARE\JavaSoft\Java Runtime Environment, BrowserJavaVersion contains 1.7.0_01

Comments
EVALUATION I re-tested with the b137 respin (http://j2se.east.sun.com/arc/ds_build/1.7.0/nightly/2011-04-02) and this CR was fixed with 7019865.
06-04-2011

EVALUATION The only place I see BrowserJavaVersion used is in the install workspace is in install\make\installerdll\installerdll\src\installer\UnregCurrentVersion.rgs which it used by UnregCurrentVersionKeys(). Since the Major and Minor versions are the same for 1.7.0 and 1.7.0_01, using PLUGIN_MAJOR_VERSION and PLUGIN_MINOR_VERSION in UnregCurrentVersionKeys(PLUGIN_MAJOR_VERSION, PLUGIN_MINOR_VERSION, installType); should be fine
31-03-2011