ppkarwasz commented on issue #1288:
URL: 
https://github.com/apache/logging-log4j2/issues/1288#issuecomment-1445848684

   @nameisjayant,
   
   Although version 2.x has a baseline of Java 8, most of our users nowadays 
runs Java 11 or Java 17. That is why we must (at least partially) support JPMS.
   
   We introduced the `MethodHandle#invokeExact` call in 
[`ServiceLoaderUtil`](https://github.com/apache/logging-log4j2/blob/rel/2.18.0/log4j-api/src/main/java/org/apache/logging/log4j/util/ServiceLoaderUtil.java)
 for this exact reason, starting from version 2.18.0. I don't see a way to 
remove it.
   
   As a workaround, you can use version 2.17.2. 


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