Bug 196239 - Consolidate layer events during deployTestModule
Consolidate layer events during deployTestModule
Status: NEW
Product: platform
Classification: Unclassified
Component: Module System
7.0
All All
: P3 (vote)
: TBD
Assigned To: Jaroslav Tulach
issues@platform
:
Depends on:
Blocks: 195074
  Show dependency treegraph
 
Reported: 2011-03-03 15:27 UTC by Jesse Glick
Modified: 2012-06-20 14:34 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:27:03 UTC
MultiFileSystem.setDelegates should be called just once from ModuleLayeredFileSystem during deployTestModule. Otherwise you get remove events for every layer entry, then readd events; this is inefficient and can trigger otherwise rare bugs in listeners.
Comment 1 Jaroslav Tulach 2012-06-20 14:34:46 UTC
Can be fixed with FileUtil.runAtomic action as bug 103159, imho.


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