Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 196239 - Consolidate layer events during deployTestModule
Consolidate layer events during deployTestModule
Product: platform
Classification: Unclassified
Component: Module System
All All
: P4 (vote)
Assigned To: Jaroslav Tulach
Depends on:
Blocks: 195074
  Show dependency treegraph
Reported: 2011-03-03 15:27 UTC by Jesse Glick
Modified: 2014-05-09 12:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


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.
Comment 2 Jaroslav Tulach 2014-05-09 12:06:04 UTC
Probably no reason to spend time on this.

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