ppkarwasz commented on PR #1961:
URL: https://github.com/apache/logging-log4j2/pull/1961#issuecomment-1808961510

   I have refactored all `Class#newInstance()` calls to use 
`LoaderUtil#newInstanceOf` and some 
`clazz.getDeclaredConstructor().newInstance()` calls.
   
   Since `Class#newInstance` is caller sensitive, this might break the 
instantiation of private/package-access classes. However I believe that the 
callers always use `public` and exported classes.


-- 
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