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.
Summary: | Profiler is on in FoD mode | ||
---|---|---|---|
Product: | platform | Reporter: | Jaroslav Tulach <jtulach> |
Component: | Module System | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P1 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
proposed fix
Proposed fix with a test |
Description
Jaroslav Tulach
2011-08-06 06:02:12 UTC
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 |