You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/10/06 04:31:20 UTC

[jira] Commented: (HARMONY-1383) [util.concurrent] Some LockSupport unit tests fail after TM integration

    [ http://issues.apache.org/jira/browse/HARMONY-1383?page=comments#action_12440310 ] 
            
Geir Magnusson Jr commented on HARMONY-1383:
--------------------------------------------

Regarding #2 above...  Is the clearing done in Thread?  Do we need to make another change when we apply this patch?


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