JDK-5050826 : class data sharing should be called on winNT families only
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98
  • CPU: generic
  • Submitted: 2004-05-21
  • Updated: 2004-06-22
  • Resolved: 2004-06-15
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.
Other
5.0 b56Fixed
Related Reports
Relates :  
Description
Progress bar doesn't shutdown after update is completed on Win98

Tested_Java_Release   : 1.5.0-beta2 Build 51 
Tested_Build          : jre-1_5_0-beta2-windows-i586.exe
Tested_Build_Location : /net/koori.sfbay/p/jdk10/jdk/1.5.0/beta2/b51/bundles/windows-i586
Test_Location         : Java Update Tests (see steps to reproduce)
Tested_Machine_Name   : rishi1, mandalay
Testted O/S           : Windows 98 SE
Tested_ Browsers      : IE


Steps to Reproduce :
 --------------------
1.  Install jre-1_5_0-beta2-windows-i586.exe from the above mentioned location
2   Add an entry in the registry in the SOFTWARE/Javasoft/javaupdate/Policy "UpdateServletURL http://java.sun.com/webapps/update/1.5.0/map.xml"
3  On Test Machine, Java Control Panel -> "Update" tab -> click on "Update Now"
     button.
4  Ballon Tool Tip shows "New updates are ready to download" in taskbar.
5  Click on Java update Icon in taskbar to download .
6  Ballon Tool Tip shows "New updates are ready to install" after download is completed.
7  Click on Java update Icon in taskbar to install a new updates (1.5.0_01)
8  Progress bar doesn't shutdown 

However the new updates is installed:
 
1. Check the java version at the command prompt and it shows:
    java version "1.5.0_01-beta2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-beta2-b51)
    Java HotSpot(TM) Client VM (build 1.5.0_01-beta2-b51, mixed mode)
 
2. Check java version in Java Control Panel (General --> About) 
    Version 1.5.0 (build 1.5.0_01-beta2-b51) is displayed
 
 


###@###.### 2004-05-20

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-rc FIXED IN: tiger-rc INTEGRATED IN: tiger-b56 tiger-rc VERIFIED IN: tiger-rc
13-09-2004

EVALUATION This problem only appears to be happening on win98 machines during java update. The 1.5.0_01 installer must be launched by the jupdate.exe process, or it is not reproducible. If the jre1.5.0_01.exe installer is simply launched standalone, this is not reproducible. The problem seems be happening as a result of the class data sharing MSI custom action. This action launches $SYSTEMDIR/javaw.exe -Xshare:dump. Here is the order of executable processes that are being run. C:/program files/java/jre1.5.0/bin/jupcheck.exe which downloads and launches the jre installer exe file: jre-1_5_0_01-beta2-windows-i586-p-iftw.exe which launches msiexec /i http://java.sun.com/jre1.5.0_01.msi file Which launches $SYSTEMDIR/javaw.exe -Xshare:dump which is hanging on win98 platforms. Even if I open up a MSDOS box when it is already hanging and run javaw.exe -Xshare:dump separately, it will not hang. It appears only to be hanging when jupcheck.exe is a super parent exe. ###@###.### 2004-05-24 According to Fred Oliver, we do not support CDS on win9X platforms. That is likely the reason for this problem. So the fix is to only call the class data sharing custom action on when the condition VersonNT is satisfied. Also, we should change the fontchecker and CDS custom actions to Synchronous (ignore exit code). ###@###.### 2004-05-25
25-05-2004