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.
Test and possibly other code waiting for changes LoaderPoolNode to be finished can get into a starvation while waiting on the refresh task which has not yet been started.
Created attachment 26954 [details] thread dump
This could be workarounded in core, but the semantics of the fix would be complex and fragile. So the best way seems to be to fix this with a simple api change in RequestProcessor.
Created attachment 26955 [details] Proposed diff to RP and LoaderPoolNode
I'll integrate by tomorrow.
Checking in openide/util/apichanges.xml; /cvs/openide/util/apichanges.xml,v <-- apichanges.xml new revision: 1.11; previous revision: 1.10 done Checking in openide/util/manifest.mf; /cvs/openide/util/manifest.mf,v <-- manifest.mf new revision: 1.9; previous revision: 1.8 done Checking in openide/util/src/org/openide/util/RequestProcessor.java; /cvs/openide/util/src/org/openide/util/RequestProcessor.java,v <-- RequestProcessor.java new revision: 1.8; previous revision: 1.7 done Checking in openide/util/test/unit/src/org/openide/util/RequestProcessorTest.java; /cvs/openide/util/test/unit/src/org/openide/util/RequestProcessorTest.java,v <-- RequestProcessorTest.java new revision: 1.12; previous revision: 1.11 done Checking in core/src/org/netbeans/core/LoaderPoolNode.java; /cvs/core/src/org/netbeans/core/LoaderPoolNode.java,v <-- LoaderPoolNode.java new revision: 1.83; previous revision: 1.82
Marking this issue as VERIFIED since the issue reporter == issue owner.