You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2006/11/06 10:01:38 UTC
[jira] Closed: (HARMONY-1679) Timer.schedule(TimerTask, delay,
period) doesn't cause repetitive invocation of task
[ http://issues.apache.org/jira/browse/HARMONY-1679?page=all ]
Alexey Petrenko closed HARMONY-1679.
------------------------------------
Resolution: Cannot Reproduce
Assignee: Alexey Petrenko
Reporter verified that this issue is not reproducible any more.
> 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
> Assigned To: Alexey Petrenko
> 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