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 - ProxyClassLoader.getAllResources has duplicates
Summary: ProxyClassLoader.getAllResources has duplicates
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 32303 149136
  Show dependency tree
 
Reported: 2003-04-02 16:41 UTC by Jesse Glick
Modified: 2009-02-19 22:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.