Thomas Maslen created SHRINKRES-183:
---------------------------------------
Summary: Resolvers.configure(Class,ClassLoader) ignores ClassLoader?
Key: SHRINKRES-183
URL:
https://issues.jboss.org/browse/SHRINKRES-183
Project: ShrinkWrap Resolvers
Issue Type: Bug
Components: api
Affects Versions: 2.1.0
Reporter: Thomas Maslen
Assignee: Andrew Rubinger
[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.3#6260)