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

Andrew Rubinger (JIRA) issues at jboss.org
Sat Jun 18 00:15:00 EDT 2016


     [ https://issues.jboss.org/browse/SHRINKWRAP-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger closed SHRINKWRAP-508.
--------------------------------------


> 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
>            Assignee: 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