harmony-commits mailing list archives

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

Nathan, I think the point is that the LockSupport here is used for demonstrating the bug -
notice that the insructions say to get rid of concurrent jar to do the test.  All is well,
I think.  

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


View raw message