harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1679) Timer.schedule(TimerTask, delay, period) doesn't cause repetitive invocation of task
Date Mon, 06 Nov 2006 09:01:38 GMT
     [ 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

        

Mime
View raw message