jackshirazi commented on pull request #464:
URL: https://github.com/apache/tomcat/pull/464#issuecomment-1016871809


   Triggered in my case when an agent (in this case Elastic APM agent) was also 
present, and the agent needs to do classloader manipulation for instrumentation.
   
   I suspect `getClass().getClassLoader()` is a better choice here than 
`ClassLoader.getSystemClassLoader()`, but I'm ambivalent
   
   I don't see where else in JULI the case is present? In the 
`FileHandler.newThread()` it's valid for the `loader` to be null


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to