jvz commented on issue #291: [LOG4J2-2604/2649] Change MethodHandle to Constructor to adapt graalvm URL: https://github.com/apache/logging-log4j2/pull/291#issuecomment-527610864 Ugh, and the API for MethodHandle is so much nicer than the reflection API for these sorts of things. Does the JVM optimize calls to `Method.invoke()` to work the same as `MethodHandle.invoke()`? If that's the case, then we could avoid using that API. Otherwise, I was looking at using `MethodHandle` far more in an update to the plugin system for 3.0, and if there's good reason to avoid that, I'd like to know now rather than later.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
