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: 4881604
Votes 0
Synopsis When calling newAudioClip(), the PC's clock will progress 1 second in 1 hour
Category java_plugin:iexplorer
Reported Against 1.3.1_04
Release Fixed
State 11-Closed, duplicate of 4500388, bug
Priority: 3-Medium
Related Bugs 4500388
Submit Date 20-JUN-2003
Description
Description: 

 When calling Applet#newAudioClip(), the PC's clock will  customer  about 1 second in one hour in JRE1.3.1_04. On a different machine environment the clock will also lose. 
 This problem will be seen when using Onboard sound card and will not occur when using SoundBlaster sound card. 
 But in JRE1.4.1_02, the problem will disappear. So thinking about something wrong in JRE1.3.1_04.


Reproduction:

PC     : DELL Precision 340
Clock  : 1.8GHz
Memory : 256MB
ChipSet:  customer  850E
Sound  : on board
OS     : Windows2000 JP SP2 (preinstall)
IE     : 5.5 JP SP2
Domain : None

1) unzip the attached file.

2) To put Test002.html, Test002.jar, Dcsalm6.wav into Http server's document root folder.

3) To view http://HOST/Test002.html on IE.

4) The PC's clock will  customer  about 1 second in one hour.


Expectied: 

 Want PC's clock not to  customer /lose in JRE1.3.1_04.

Actual:

 The PC's clock will  customer  in JRE1.3.1_04 when using Onboard sound card.
Work Around
This bug has been fixed in bug no 4500388 and one requires 
a PRODUCT FLAG to use the fix.

This flag and fix are available in
1.3.1_4, 1.4.0_2, 1.4.1 and 1.4.2.

For the plugin to pickup the fix :

In your Java Plug-in Control Panel 
in the section 'Java Runtime Parameters' just enter the following flag

-XX:+ForceTimeHighResolution

Apply the changes and run the testcase.
I do not see the clock incrementing as it did earlier.


  xxxxx@xxxxx   2003-09-01
Evaluation
As per CTE engineer Mala Bankal, this is duplicate of 4500388
  xxxxx@xxxxx   2003-09-16
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang