Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-508

URLPackageScanner prefix not correctly set when Classloader is not set to WAR root

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.2.5
    • None
    • None

      If a modular classloader for a WAR is set with a relative path instead of the root, i.e. starting at 'WEB-INF/classes', then URLPackageScanner.loadResources() successfully finds a resource without a 'prefix' being set.

      However, handleArchiveByFile() is then unable to find the class without a prefix being set to 'WEB-INF/classes'

              kfinniga@redhat.com Ken Finnigan (Inactive)
              kfinniga@redhat.com Ken Finnigan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: