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 195827

Summary: "weight" attribute not interpreted when merging module layers
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: jglick
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 141925    
Attachments: Manual demo - should show small main window

Description Jaroslav Tulach 2011-02-22 22:45:51 UTC
The "weight" attribute, introduced in 6.9 version:
http://bits.netbeans.org/6.9/javadoc/org-openide-filesystems/apichanges.html#MultiFileSystem.weight
does not seem to have any effect between layers of multiple modules. 

I thought I will find info about "weight" attribute in ParsingLayerCacheManager, but the whole package is silent about that. That seems clearly wrong.

Just add new test to XMLFileSystemTestHid, that will check that the behavior of plain XMLFileSystem and core.startup's BinaryFS are the same.
Comment 1 Jesse Glick 2011-02-23 02:07:46 UTC
Have test passing for XMLFileSystem. Still trying to figure out how to do it for ParsingLayerCacheManager.
Comment 2 Jesse Glick 2011-02-23 18:01:54 UTC
Created attachment 106354 [details]
Manual demo - should show small main window
Comment 3 Jesse Glick 2011-02-23 18:05:55 UTC
core-main #7aaf4d563396
Comment 4 Quality Engineering 2011-02-24 05:36:26 UTC
Integrated into 'main-golden', will be available in build *201102240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7aaf4d563396
User: Jesse Glick <jglick@netbeans.org>
Log: #195827: "weight" attribute not interpreted when merging module layers