harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1383) [util.concurrent] Some LockSupport unit tests fail after TM integration
Date Fri, 06 Oct 2006 02:57:21 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1383?page=comments#action_12440311 ] 
            
Nathan Beyer commented on HARMONY-1383:
---------------------------------------

Can these be reworked such that LockSupport isn't being replaced by DRLVM's kernel JAR? This
causes duplicate versions of LockSupport to be in the classpath, since there's one in the
concurrent module.

> [util.concurrent] Some LockSupport unit tests fail after TM integration
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-1383
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1383
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Rustem Rafikov
>         Attachments: 1383-tm.patch, LockSupport.java, TestIntAfterPark.java, TestParkUntil.java
>
>
> Hi All, 
> Preparing a patch for juc integration I found some regressions after integration of ThreadManager.
> I used a DL's unit tests and the attached tests were extracted from them.
> To reproduce:
> 1. Put LockSupport.java (attached) in vm/vmcore/src/kernel_classes/javasrc/java/util/concurrent/locks/
> 2. build DRLVM (or kernel classes)
> 3. comment "concurrent.jar" in lib/bootclasspath.properties
> 4. Compile and run the tests attached.
> - TestParkUntil - hangs (looks like it does not calculate deadline)
> - TestIntAfterPark - shows that "interrupted" flag is not set after interruption of a
parked thread.

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