Skip to content

getResources() does not return all resources in all jars of a given classloader #59

@jpbelang

Description

@jpbelang

I'm using JCL in a simple manner, I think. I create a classloader and add() a bunch of jars.

Some of these jars have identically named resources. From this class loader I try getResources() expecting the enumeration to find all the resources. Unfortunately, I only get the first resource.

I debugged the code and it seems that every classloader only returns one resource through findResource(), I think..

Am I doing something really wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions