JDK-4881604 : When calling newAudioClip(), the PC's clock will progress 1 second in 1 hour
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.3.1_04
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-06-20
  • Updated: 2003-09-17
  • Resolved: 2003-09-17
Related Reports
Duplicate :  
Description
Description: 

 When calling Applet#newAudioClip(), the PC's clock will progress 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: Intel 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 progress about 1 second in one hour.


Expectied: 

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

Actual:

 The PC's clock will progress in JRE1.3.1_04 when using Onboard sound card.


Comments
EVALUATION As per CTE engineer Mala Bankal, this is duplicate of 4500388 ###@###.### 2003-09-16
16-09-2003

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. ###@###.### 2003-09-01
01-09-2003