JDK-6824583 : regtest TimeUnit/Basic.java fails intermittently on Windows - again
Type:Bug
Component:core-libs
Sub-Component:java.util.concurrent
Affected Version:7
Priority:P3
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2009-04-01
Updated:2010-04-02
Resolved:2009-04-08
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.
The testcase jdk/test/java/util/concurrent/TimeUnit/Basic.java expects MILLSECONDS.sleep(3) to sleep at least 3 when it could just return. Making the test for > 3 fail.
Comments
EVALUATION
After some dicussion it was decided to just allow for the fact that the Thread.sleep(3) might be a Thread.sleep(0) due to the known Windows bug.