[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-508) URLPackageScanner prefix not correctly set when Classloader is not set to WAR root

Ken Finnigan (JIRA) issues at jboss.org
Fri Jun 10 10:07:00 EDT 2016


Ken Finnigan created SHRINKWRAP-508:
---------------------------------------

             Summary: URLPackageScanner prefix not correctly set when Classloader is not set to WAR root
                 Key: SHRINKWRAP-508
                 URL: https://issues.jboss.org/browse/SHRINKWRAP-508
             Project: ShrinkWrap
          Issue Type: Bug
    Affects Versions: 1.2.5
            Reporter: Ken Finnigan


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'



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the shrinkwrap-issues mailing list