[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:14:00 EDT 2016
[ https://issues.jboss.org/browse/SHRINKWRAP-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Finnigan updated SHRINKWRAP-508:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/shrinkwrap/shrinkwrap/pull/101
> 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