]
Ken Finnigan updated SHRINKWRAP-508:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
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'