This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
updateChildren impl in FilterNode can still potentially cause deadlock, if the children type of the original Node is changed and then isLeaf is called on the FilterNode, it calls setChildren and tries to upgrade the Mutex from readAccess to writeAccess, which is deadlock prone. I've simulated it in the FilterNodeTest.testIsLeafCanUpdateWhenAnotherThreadHoldsALock Uncomment the test and try it.
Checking in src/org/openide/nodes/FilterNode.java; /cvs/openide/src/org/openide/nodes/FilterNode.java,v <-- FilterNode.java new revision: 1.86; previous revision: 1.85 done Processing log script arguments... More commits to come... Checking in test/unit/src/org/openide/nodes/FilterNodeTest.java; /cvs/openide/test/unit/src/org/openide/nodes/FilterNodeTest.java,v <-- FilterNodeTest.java new revision: 1.12; previous revision: 1.11
seems OK