Bug 196240 - Do not fire ModuleInfo events during deployTestModule
Do not fire ModuleInfo events during deployTestModule
Status: NEW
Product: platform
Classification: Unclassified
Component: Module System
7.0
All All
: P4 (vote)
: TBD
Assigned To: Jaroslav Tulach
issues@platform
:
Depends on:
Blocks: 195074
  Show dependency treegraph
 
Reported: 2011-03-03 15:29 UTC by Jesse Glick
Modified: 2012-11-16 17:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo