]
Bela Ban resolved JGRP-1949.
----------------------------
Resolution: Done
LockService: tryLock() can wait forever
---------------------------------------
Key: JGRP-1949
URL:
https://issues.jboss.org/browse/JGRP-1949
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.6.5
When the {{ClientLock.acquireTryLock()}} method converts ns to ms, the resulting input
can be 0, which leads to a {{wait(0)}}, which will wait forever.
SOLUTION: convert to ms before and skip the wait if 0.