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.

Bug 28465 - Lookup<ModuleInfo> not available until modulesClassPathInitialized
Summary: Lookup<ModuleInfo> not available until modulesClassPathInitialized
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-04 19:57 UTC by Jesse Glick
Modified: 2008-12-23 08:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-11-04 19:57:00 UTC
ModuleSystem.lookup needs to be added to NbTM.Lkp
earlier. Affects S1SME (sometimes), when it prints
e.g.

Warning: unknown module code base:
org.netbeans.modules.kjava in
Services/MIDletSuite.settings

(50x) during startup.

Actual impact: unknown; probably means that some
settings are not restored correctly in S1SME build.
Comment 1 Jan Pokorsky 2002-11-04 20:33:34 UTC
Impact: a setting can be considered as valid even if an user disables
a module owning the setting. Otherwise it should not hurt anything.
Comment 2 Jesse Glick 2002-11-05 01:16:29 UTC
I have a patch that seems to work, and a unit test for it too.
Comment 3 Jesse Glick 2002-11-05 23:10:02 UTC
committed   * Up-To-Date  1.168      
core/src/org/netbeans/core/NbTopManager.java
committed   * Up-To-Date  1.27       
core/src/org/netbeans/core/modules/ModuleSystem.java
added       * Up-To-Date  1.1        
core/test/unit/src/org/netbeans/core/modules/NbInstallerTest8.java
committed   * Up-To-Date  1.15       
core/test/unit/src/org/netbeans/core/modules/build.xml
added       * Up-To-Date  1.1        
core/test/unit/src/org/netbeans/core/modules/jars/look-for-myself.mf
added       * Up-To-Date  1.1        
core/test/unit/src/org/netbeans/core/modules/jars/look-for-myself/lookformyself/Loder.java
Comment 4 Jan Pokorsky 2002-11-06 15:20:07 UTC
verified