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