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: 6638633
Votes 0
Synopsis The "Browser settings changed" dialog was always displayed although no changes was made to JCP
Category java_deployment:configuration
Reported Against
Release Fixed 6u10(b10)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs 6533331
Submit Date 06-DEC-2007
Description
With the 6u10 b08, when running the Java Control Panel (JCP), upon clicking on the Ok button, the "Browser settings changed" (see attached screeshot) dialog is always shown although the user hasn't changed anything in the JCP.
Posted Date : 2007-12-06 21:44:53.0
Work Around
N/A
Evaluation
This problem was introduced in 6u10 b07 via the fix for 6533331.
There's an extra lstrcat(szMozDir, "plugins") in the IsDefaultInBrowser() function of RegCommon.cpp. The extra lstrcat makes the szMozDir incorrect and resulting in the IsNPFileVersionMatch() always returns FALSE.
When the user clicks on the "Ok" button in the Java Control Panel even though without making any browsers related changes, the code goes through the Java_com_sun_deploy_panel_PlatformSpecificUtils_applyBrowserSettings function of RegJControl.cpp. If IsNPFileVersionMatch() always returns FALSE, the following check will always be TRUE when the user opens Java Control Panel without making any changes:
if (isMozillaDefault != IsDefaultInBrowser(PLUGIN_MAJOR_VERSION, PLUGIN_MINOR_VERSION, PLUGIN_MICRO_VERSION, PLUGIN_UPDATE_VERSION, MOZILLA))
As a result, the bChange flag is always set to TRUE. By default, the following flags are also set to TRUE: bIExplorerResult, bNetscape6Result, bMozillaResult, bFirefoxResult. So further down in the same function, the "showSuccessDialog" java method, which displays the "Browser settings changed" dialog, will always be called.
Posted Date : 2007-12-08 00:05:00.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang