There\'s a desktop application that uses Thread.sleep() to achieve long (minutes or hours) delays. This same application has been working fine from Windows XP through (at l
This is expected, valid behavior. The documentation is very explicit, stating:
these sleep times are not guaranteed to be precise, because they are limited by the facilities provided by the underlying OS.
and:
In any case, you cannot assume that invoking
sleep
will suspend the thread for precisely the time period specified.