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

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

    XMLWordPrintable

Details

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

    Description

      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'

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: