harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1679) Timer.schedule(TimerTask, delay, period) doesn't cause repetitive invocation of task
Date Tue, 03 Oct 2006 16:01:19 GMT
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

        

Mime
View raw message