Bartosz Spyrko-Śmietanko created WFCORE-4350:
------------------------------------------------
Summary: (7.2.z) ChildFirstClassLoader and LegacyKernelServicesInitializer
should allow exclusion of resources from the paren
Key: WFCORE-4350
URL:
https://issues.jboss.org/browse/WFCORE-4350
Project: WildFly Core
Issue Type: Enhancement
Components: Management, Test Suite
Reporter: Bartosz Spyrko-Śmietanko
Assignee: Jeff Mesnil
ChildFirstClassLoader and LegacyKernelServicesInitializer have hooks to allow tests to
prevent classes from being loaded from the parent CL, but there's no way to prevent
resources being loaded. In particular META-INF/services files, which bit us with
https://github.com/wildfly/wildfly-core/pull/3685 as a META-INF/services file in the
parent was being found when trying to load services for an interface in the child CL. The
impls in the parent could not implement the child CL version of the interface. Excluding
loading of the META-INF/services file in the paren solved the problem.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)