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.
Please, fix failing org.openide.nodes.ChildFactoryTest.testBatchNodeRecreation. http://test4u.cz.oracle.com/job/StableBTD-trunk/lastCompletedBuild/testReport/
To reproduce: ant -f openide.nodes test-unit -Dtest.includes=**/ChildFactoryTest.class -Dtest-unit-sys-prop.NbTestCase.order=a-z
The failure reveals with mentioned order property and when you debug testBatchNodeRecreation test case. It seems that on JDK8 ChildrenArray is finalized too eagerly and nodes have to be re-created. The following is called before f.refresh(): "Active Reference Queue Daemon" org.openide.nodes.AsynchChildren.removeNotify(AsynchChildren.java:94) org.openide.nodes.Children.callRemoveNotify(Children.java:580) org.openide.nodes.EntrySupportDefault.finalizedChildrenArray(EntrySupportDefault.java:775) org.openide.nodes.EntrySupportDefault$ChArrRef.run(EntrySupportDefault.java:867) org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:189)
fix: http://hg.netbeans.org/core-main/rev/71af3f86c4ce
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/71af3f86c4ce User: Jan Peska <JPESKA@netbeans.org> Log: Issue #241496 - Failing org.openide.nodes.ChildFactoryTest.testBatchNodeRecreation Fixing patch - must keep reference to nodes