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 32576

Summary: ProxyClassLoader.getAllResources has duplicates
Product: platform Reporter: Jesse Glick <jglick>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: issues, pnejedly
Priority: P4 Keywords: PERFORMANCE
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 32303, 149136    

Description Jesse Glick 2003-04-02 16:41:39 UTC
findAllResources includes those found in the
parent, and CL.gAR merges in the parent resources
(you cannot override this). Therefore e.g. the
class loader used for core + openide includes
dupes of bootstrap resources.

Aggravates issue #31676, probably.
Comment 1 Jesse Glick 2003-04-02 17:36:45 UTC
Issue #32303 is what I meant.
Comment 2 Jesse Glick 2008-10-20 22:32:02 UTC
Fixed in a branch: #d322e574dffb
Comment 3 Jesse Glick 2008-11-01 16:51:23 UTC
Merged in core-main #78103b644dfc.
Comment 4 Quality Engineering 2008-11-04 16:22:17 UTC
Integrated into 'main-golden', will be available in build *200811041401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d322e574dffb
User: Jesse Glick <jglick@netbeans.org>
Log: #32576: fixing {get,find}Resource{,s} delegation semantics to match e.g. URLClassLoader.
Needed for #149136 so that NbInstaller can find META-INF/generated-layer.xml without delegation to parents.