Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-183

Resolvers.configure(Class,ClassLoader) ignores ClassLoader?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0-beta-1
    • 2.1.0, 2.1.1, 2.2.0-alpha-2
    • api
    • None

      [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.

              kpiwko Karel Piwko
              tm2_jira Thomas Maslen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: