Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6624555
Votes 0
Synopsis CanonicalizeJava2Registry may set CurrentVersion to random value
Category java:install
Reported Against
Release Fixed 6u10(b10)
State 11-Closed, Unverified, bug
Priority: 2-High
Related Bugs
Submit Date 01-NOV-2007
Description
Code inspection of RegInstall.cpp led to the following observation:

In CanonicalizeJava2Registry, in the block "if (dwIndex > 0)", we have to recompute the szFamilyVersion string via wsprintf after the call to ParseVersionString. At that point, szFamilyVersion is pointing to a random version string of the potentially multiple installed JRE versions.

This bug might lead to the wrong Java version being used as the CurrentVersion during uninstallation if multiple versions are installed on the machine.
Posted Date : 2007-11-01 00:37:21.0
Work Around
N/A
Evaluation
Will change the code to get the correct registry value.
Posted Date : 2007-11-30 02:22:24.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang