You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "L (Jira)" <ji...@apache.org> on 2022/03/17 13:00:00 UTC
[jira] [Created] (GROOVY-10531) MetaClassRegistryImpl must use the context classloader for ExtensionModuleScanner
L created GROOVY-10531:
--------------------------
Summary: MetaClassRegistryImpl must use the context classloader for ExtensionModuleScanner
Key: GROOVY-10531
URL: https://issues.apache.org/jira/browse/GROOVY-10531
Project: Groovy
Issue Type: Bug
Reporter: L
At the moment the code in question looks like this:
{code:java}
ExtensionModuleScanner scanner = new ExtensionModuleScanner(new DefaultModuleListener(map), this.getClass().getClassLoader());
{code}
This does not work correctly under some application servers with module-based classloading. Please use the thread context classloader instead of this.getClass().getClassLoader()
--
This message was sent by Atlassian Jira
(v8.20.1#820001)