ZhichX opened a new issue #1963: Optimize the use of `lock.lock()` URL: https://github.com/apache/incubator-dubbo/issues/1963 Put lock.lock() in try{...}, when lock.lock() reports an error, will also enter the finally release lock. According to the `Lock.unlock()` document, an unchecked exception will be thrown when the non-lock holding thread calls this method:
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
