You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2022/02/10 18:49:10 UTC

[GitHub] [tomcat] markt-asf commented on pull request #464: avoid null classloader when thread context CL is null

markt-asf commented on pull request #464:
URL: https://github.com/apache/tomcat/pull/464#issuecomment-1035330398


   For Tomcat `getClass().getClassLoader()` will be the same as `ClassLoader.getSystemClassLoader()` but I agree that generally, `getClass().getClassLoader()` is the better choice.
   I'm working on a slightly wider patch that makes this more consistent throughout JULI.


-- 
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-unsubscribe@tomcat.apache.org

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



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