Trying to acquire the WRITE lock of a ReentrantReadWriteLock while already
holding the READ lock, throws exception
------------------------------------------------------------------------------------------------------------------
Key: CDV-787
URL: https://jira.terracotta.org/jira//browse/CDV-787
Project: Community Development
Issue Type: Bug
Components: DSO:L1
Reporter: Octavian Florescu
Assignee: Issue Review Board
Attachments: SimpleRWLockTest.java, tc-config.xml,
terracotta-client.log
Trying to acquire the WRITE lock of a ReentrantReadWriteLock while the calling
thread is already holding the READ lock throws exception "Lock upgrade is not
supported. The READ lock needs to be unlocked before a WRITE lock can be
requested." Without DSO, the tryLock call times out as per javadoc.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev