You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Fedotov (JIRA)" <ji...@apache.org> on 2006/11/05 19:09:19 UTC
[jira] Commented: (HARMONY-1679) Timer.schedule(TimerTask, delay,
period) doesn't cause repetitive invocation of task
[ http://issues.apache.org/jira/browse/HARMONY-1679?page=comments#action_12447279 ]
Alexei Fedotov commented on HARMONY-1679:
-----------------------------------------
I have modified test a bit so it becomes possible to run it in a loop. All worked fine - please close the bug as not reproducible.
> Timer.schedule(TimerTask, delay, period) doesn't cause repetitive invocation of task
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-1679
> URL: http://issues.apache.org/jira/browse/HARMONY-1679
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows XP ia32
> Reporter: Anton Luht
> Priority: Minor
>
> This bug was found during investigation of unit test tests.api.java.util.TimerTaskTest
> Build: svn = r452457, (Oct 3 2006), Windows/ia32/msvc 1310, debug build
> Code to reproduce:
> import java.util.Timer;
> import java.util.TimerTask;
> public class Test {
> public static void main(String args[]) {
> new Timer().schedule(new TimerTestTask(), 50, 50);
> }
> }
> class TimerTestTask extends TimerTask {
> public void run() {
> System.err.println("running...");
> }
> }
> Output in RI:
> running...
> running...
> running...
> running...
> ... (infinite)...
> Output in Harmony:
> running...
> (and no more output)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira