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.
Calling getNodes() from more concurrent threads on a Children.Keys subclass can lead to creation of more nodes per each key.
*** Issue 58370 has been marked as a duplicate of this issue. ***
Increasing priority. See e.g. issue 58370.
*** Issue 60182 has been marked as a duplicate of this issue. ***
*** Issue 60093 has been marked as a duplicate of this issue. ***
*** Issue 61467 has been marked as a duplicate of this issue. ***
Added a failing test: openide/nodes/test/unit/src/org/openide/nodes/ChildrenKeysTest.java,v1.2 Reassigning to Yarda, he aggreed to look at it once there is a test.
I'll work on the issue for 4.2, but not now, I have other things to do for next few weeks.
*** Issue 62468 has been marked as a duplicate of this issue. ***
*** Issue 62522 has been marked as a duplicate of this issue. ***
*** Issue 59291 has been marked as a duplicate of this issue. ***
This fix is not going to be deadlock proof. We can expect few of them in future, but as there is nothing much better to do, let's try this: "#57769: Call to createNodes is synchronized so it is done just once per each entry" Checking in nodes/src/org/openide/nodes/ChildrenArray.java; /cvs/openide/nodes/src/org/openide/nodes/ChildrenArray.java,v <-- ChildrenArray.java new revision: 1.2; previous revision: 1.1 done Checking in nodes/test/cfg-unit.xml; /cvs/openide/nodes/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.2; previous revision: 1.1 done Checking in nodes/test/unit/src/org/openide/nodes/ChildrenKeysTest.java; /cvs/openide/nodes/test/unit/src/org/openide/nodes/ChildrenKeysTest.java,v <-- ChildrenKeysTest.java new revision: 1.3; previous revision: 1.2