[ https://issues.apache.org/jira/browse/DELTASPIKE-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg closed DELTASPIKE-996. ------------------------------------ Resolution: Won't Fix closing due to no patch since a long time > org.apache.deltaspike.test.core.api.config.propertyconfigsource.ConfigPropertyWARTest#testInjectConfig > fails for weblogic > ------------------------------------------------------------------------------------------------------------------------- > > Key: DELTASPIKE-996 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-996 > Project: DeltaSpike > Issue Type: Bug > Components: Tests > Affects Versions: 1.5.0 > Reporter: JJ Snyder > Assignee: Mark Struberg > Priority: Major > > org.apache.deltaspike.test.core.api.config.propertyconfigsource.ConfigPropertyWARTest#testInjectConfig > fails when run against weblogic. This is failing because > ConfigResolver.configSources is getting populated during deployment using the > Thread's context class loader. At runtime the current Thread's context class > loader is used to access configSources. The problem is that the context > class loaders are not the same. Afaict there is nothing in the specs that > says the context class loaders must be the same. So I think the test is bad > and needs to be written differently. If I force the class loader to be the > same in a debugger then I can make the test pass. -- This message was sent by Atlassian Jira (v8.20.1#820001)