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 196239

Summary: Consolidate layer 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: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.