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.
I was investigating recent failures in org.netbeans.modules.ide.ergonomics.WizardDeadTest.testDescriptionStep and found out that java.project module is enabled after empty IDE with ergonomics cluster starts. This may be related to changes in profiler dependencies, as Java Profiler module is also on.
Debugging module system shows eager module profiler.j2ee.tomcat that can be enabled and takes whole bunch of other java related modules with it.
Perhaps because the change removed dep profiler -> java.kit but did not reintroduce analogous dep profiler.kit -> java.kit.
It looks like a problem with Dependency.TYPE_NEEDS.
Created attachment 109863 [details] proposed fix The attached patch fixes the problem.
Created attachment 109879 [details] Proposed fix with a test New patch now contains a test.
Jardo, please check that your ergonomics tests do not fail and if everything is OK, you can integrate the proposed fix with a unit test.
Thanks a lot for the investigation. Integrated as ergonomics#609d3c42f941
Integrated into 'main-golden', will be available in build *201108101626* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/609d3c42f941 User: Tomas Hurka <thurka@netbeans.org> Log: #200717: Don't enable eager modules that depend on autoload which needs a disabled regular module