You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Markov (JIRA)" <ji...@apache.org> on 2006/12/21 09:23:23 UTC

[jira] Updated: (HARMONY-2820) [classlib] intermittent failure of tests.api.java.util.TimerTaskTest

     [ http://issues.apache.org/jira/browse/HARMONY-2820?page=all ]

Mikhail Markov updated HARMONY-2820:
------------------------------------

    Attachment: H-2820.patch

Here is the patch adding synchronization to java.util.TimerTask. Also it replaces tab characters with 4 spaces.

> [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2820
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2820
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: win XP, msvc, debug, r489062
>            Reporter: tatyana doubtsova
>         Attachments: H-2820.patch
>
>
> Intermittent failure (1 time out of 50) of tests.api.java.util.TimerTaskTest@test_cancel
> TimerTask cancelled should not run again
> junit.framework.AssertionFailedError: TimerTask cancelled should not run again at tests.api.java.util.TimerTaskTest.test_cancel(TimerTaskTest.java:174) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 2.047
> to reproduce:
> #!/bin/sh
> A=0
> while [ "$A" -lt "50" ]; do
>       ant -Dtest.jre.home=<path to jre> -Dbuild.module=luni -Dhy.test.vm.name=drl -Dhy.test.forkmode=once test
>       A=`expr $A + 1`
> done

-- 
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