Julian Reschke created OAK-8722:
-----------------------------------
Summary: dead locking related code in NodeDelegate.updateMixins
Key: OAK-8722
URL: https://issues.apache.org/jira/browse/OAK-8722
Project: Jackrabbit Oak
Issue Type: Bug
Components: jcr
Reporter: Julian Reschke
Assignee: Julian Reschke
{noformat}
// 3. deal with locked nodes
boolean wasLockable = isNodeType(MIX_LOCKABLE);
boolean isLockable = isNodeType(MIX_LOCKABLE);
if (wasLockable && !isLockable && holdsLock(false)) {
// TODO: This should probably be done in a commit hook
unlock();
sessionDelegate.refresh(true);
}
{noformat}
AFAICT, this code block will never be executed. Clean up, [~angela]?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)