vy commented on PR #4060:
URL: https://github.com/apache/logging-log4j2/pull/4060#issuecomment-4066587830

   > We could rewrite getResourceAsStream in terms of getResource, and then get 
the stream via url.openStream(). Note that this is what java.lang.ClassLoader 
itself does. The benefit is that we log locations for BOTH methods.
   
   @markyag-spgdji, correct, but this will not work for custom `ClassLoader` 
implementations which implement `getResourceAsStream` differently. Am I 
mistaken?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to