Re: Java CountDownLatch.await(timeout) is influenced by changes to System time on Linux

2014-11-20 Thread Bernd Eckenfels
Am Tue, 11 Nov 2014 14:35:01 +0800 schrieb "wuwen.55" : > Thank you! > I'm version is 7u55. and upgrade 7u60 test is ok. Cools results! Can you give a few details, what OS is this (Linux?) and how did you set the clock back (date?)? Did you also try to change the (system) timezone (I think t

Re: Java CountDownLatch.await(timeout) is influenced by changes to System time on Linux

2014-11-20 Thread wuwen.55
Thank you! I'm version is 7u55. and upgrade 7u60 test is ok. jdk 1.7.0_55 test result time:Tue Nov 11 13:24:01 CST 2014 nanoTime:1809368 currentTime:18093 - time:Tue Nov 11 13:24:02 CST 2014 nanoTime:19097878000 currentTime:19098 - time:Tu

Re: Java CountDownLatch.await(timeout) is influenced by changes to System time on Linux

2014-11-10 Thread David Holmes
Repeating my response due to the subject mangling in the other "thread": This is a known issue: https://bugs.openjdk.java.net/browse/JDK-6900441 fixed in 7u60, 8 and 9. What version were you running? David On 7/11/2014 6:22 PM, wuwen.55 wrote: call .await(10, TimeUnit.SECONDS) and change th

Java CountDownLatch.await(timeout) is influenced by changes to System time on Linux

2014-11-10 Thread wuwen.55
call .await(10, TimeUnit.SECONDS) and change the time one hours back. i.e. start at 13:00 call .await and at 13:05 change the time to 12:05 you will notice that the wait does not return. when change the time to the current time . change the time to 13:05. the wait still does not return. test c