[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:14:00 EDT 2016


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

Andrew Rubinger updated SHRINKWRAP-508:
---------------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


https://github.com/shrinkwrap/shrinkwrap/commit/a395697cceb2db2df5a49b8b2c0f73350b42e31c

> 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