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 - Do not fire ModuleInfo events during deployTestModule
Summary: Do not fire ModuleInfo events during deployTestModule
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 195074
  Show dependency tree
 
Reported: 2011-03-03 15:29 UTC by Jesse Glick
Modified: 2014-05-09 12:08 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 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.