[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-183) Resolvers.configure(Class, ClassLoader) ignores ClassLoader?

Karel Piwko (JIRA) issues at jboss.org
Tue Jun 17 08:16:31 EDT 2014


     [ https://issues.jboss.org/browse/SHRINKRES-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko reassigned SHRINKRES-183:
-------------------------------------

    Assignee: Karel Piwko  (was: Andrew Rubinger)


> Resolvers.configure(Class,ClassLoader) ignores ClassLoader?
> -----------------------------------------------------------
>
>                 Key: SHRINKRES-183
>                 URL: https://issues.jboss.org/browse/SHRINKRES-183
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: api
>    Affects Versions: 2.1.0
>            Reporter: Thomas Maslen
>            Assignee: Karel Piwko
>
> [No, I wasn't trying to use this, I just noticed it while looking at the source.  It looks to me like a regression, but you gents would be better judges of that than I am]
> The Resolvers.configure(Class,ClassLoader) method ignores its ClassLoader argument;  the only argument that it passes to ResolverSystemFactory.createFromUserView() is the Class.
> Offhand it looks like a cut-and-paste from the method above?
> If I'm reading Git right this was introduced in the fix for SHRINKRES-173 that went into 2.1.0, and it's present in 2.1.0 and above, including the current master.
> Happily, Resolvers.use(Class,ClassLoader) passes both arguments to ResolverSystemFactory as expected.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the shrinkwrap-issues mailing list