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 196240

Summary: Do not fire ModuleInfo events during deployTestModule
Product: platform Reporter: Jesse Glick <jglick>
Component: Module SystemAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: normal CC: gregersen
Priority: P4    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 195074    

Description Jesse Glick 2011-03-03 15:29:15 UTC
Lookup.getDefault().lookupResult(ModuleInfo.class) should not normally change during deployTestModule. Otherwise you get events for removal then for readdition of ModuleInfo for the module (and any downstream modules also reloaded), which is inefficient and could cause buggy listener activity e.g. in settings.
Comment 1 Jaroslav Tulach 2014-05-09 12:08:04 UTC
Yeah. I don't think we need a fix. Does not affect production and the risk of problems is not high.