JDK-4290274 (timer) java.util.Timer.scheduleAtFixedRate() fails if the system time is changed

Sebastian Sickelmann sebastian.sickelmann at gmx.de
Mon Sep 21 19:21:23 UTC 2015


while looking through some bugs in JBS I found this[1] one.

It seems to be that it is already solved. I tried the submitted example
with jdk6,7,8 and
it seems that it works since jdk7.

So maybe the bug can be closed, like the one it relates to
        JDK-5056544 javax.swing.timer stops after changing actual system

I created a headless swing based jtreg-test for JDK-4290274 but actually
it would run
only on linux(which can be changed) and must be started by a user that
can change the time.

Is it possible to integrate such a test in openjdk?

-- Sebastian

[0] https://bugs.openjdk.java.net/browse/JDK-4290274

More information about the core-libs-dev mailing list