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 11/11/2014 6:59 AM, Bernd Eckenfels wrote:
Hm, how did you change the time? (normal date command?) System.nanoTime is supposed to be monotonic. I think on linux it even uses a timer for exactly that. i think there was a open bug around park(), but the nanoTime should be find (and negative difference are sonewhat normal with it anyway) gruss bernd