United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6539723 Class Data Sharing cease to work on Windows on Daylight Saving time change
6539723 : Class Data Sharing cease to work on Windows on Daylight Saving time change

Details
Type:
Bug
Submit Date:
2007-03-28
Status:
Closed
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2007-06-20
Component:
hotspot
OS:
windows_xp
Sub-Component:
runtime
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
hs10

Related Reports
Backport:
Backport:

Sub Tasks

Description
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.6.0_01-ea-b03)
Java HotSpot(TM) Client VM (build 1.6.0_01-ea-b03, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
Since the CDS feature was introduced in 5.0 it always ceases to work 2-times a year just immediately after Daylight saving change takes place. To make it work again one have to "dump" the shared archive file again.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1) install jre or jdk on windows
2) verify that java.exe -Xshare:on works
3) wait for start of end of daylight saving time change
4) see that java.exe -Xshare:on fails

ERROR MESSAGES/STACK TRACES THAT OCCUR :
An error has occured while processing the shared archive file.
A jar file is not the one used while building the shared archive file.
Error occurred during initialization of VM
Unable to use shared archive.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Rebuild the shared archive file twice a year manually is NOT an option for JOE the user rendering CDS useless.

                                    

Comments
EVALUATION

Windows 'last modified' times can be modified in some cases by the daylight savings time adjustment.  This is likely what is going on here.  

A possible workaround: http://support.microsoft.com/default.aspx?scid=kb;en-us;190315
                                     
2007-05-24



Hardware and Software, Engineered to Work Together