harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1974) [classlib][lini] unit test ThreadTest.test_enumerate$Ljava_lang_Thread() fails intermittently on drlvm
Date Mon, 13 Nov 2006 10:27:47 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1974?page=comments#action_12449301 ] 
            
Nikolay Kuznetsov commented on HARMONY-1974:
--------------------------------------------

ThreadTest indeed hangs for now. First off all j.l.Thread.stop(Throwable) misses isAlive check
on thread, but after that fix, this test still hangs because of the problem described in HARMONY-1789.
I'm working on both problems hopefully will provide combined fix soon.

> [classlib][lini] unit test ThreadTest.test_enumerate$Ljava_lang_Thread() fails intermittently
on drlvm
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1974
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1974
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Elena Semukhina
>         Attachments: ThreadTest.patch
>
>
> The test fails rather often when running the whole luni module with the following message:
> Incorrect value returned2 
> junit.framework.AssertionFailedError: Incorrect value returned2 at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
at org.apache.harmony.luni.tests.java.lang.ThreadTest.test_enumerate$Ljava_lang_Thread(ThreadTest.java:357)
at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.000 
> test_getContextClassLoader Success 
> or
> Incorrect value returned3 
> junit.framework.AssertionFailedError: Incorrect value returned3 at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11)
at org.apache.harmony.luni.tests.java.lang.ThreadTest.test_enumerate$Ljava_lang_Thread(ThreadTest.java:357)
at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.000 
> test_getContextClassLoader Success 
> It seems that the test should wait until threads are started and then call the enumerate()
method.
>  

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