Matt Sicker created LOG4J2-1763: ----------------------------------- Summary: Use MethodHandle instead of Method in ReflectionUtil Key: LOG4J2-1763 URL: https://issues.apache.org/jira/browse/LOG4J2-1763 Project: Log4j 2 Issue Type: Improvement Components: API Reporter: Matt Sicker Assignee: Matt Sicker Fix For: 2.8
Since Log4j requires Java 7, performance-sensitive use of reflection can generally be replaced with the MethodHandle API. This is almost as good as direct access to the underlying method and only requires a single security access check on creation rather than on every invocation of the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org