harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2820) [classlib] intermittent failure of tests.api.java.util.TimerTaskTest
Date Thu, 21 Dec 2006 08:23:23 GMT
     [ 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

        

Mime
View raw message