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)

Reply via email to