[ 
https://issues.apache.org/jira/browse/LOG4J2-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Sicker updated LOG4J2-1359:
--------------------------------
    Description: 
[StackWalker|http://download.java.net/jdk9/docs/api/java/lang/StackWalker.html]

Based on the functional nature of this API, supporting it may require compiling 
at least one class using javac 1.9 and reflectively loading it in 
ReflectionUtil similar to how Spring supports newer JDK APIs.

Without support for StackWalker, ReflectionUtil will fall back to using a 
slower API in Java 1.9. This is because the Reflection class is a sun-internal 
class which are no longer exported to non-JDK code without setting special 
command line flags.

  was:
[StackWalker|http://download.java.net/jdk9/docs/api/java/lang/StackWalker.html]

Based on the functional nature of this API, supporting it may require compiling 
at least one class using javac 1.9 and reflectively loading it in 
ReflectionUtil similar to how Spring supports newer JDK APIs.

Without support for StackWalker, ReflectionUtil will fall back to using a 
slower API in Java 1.9.


> Add support for Java 9 StackWalker API in ReflectionUtil
> --------------------------------------------------------
>
>                 Key: LOG4J2-1359
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1359
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: API
>         Environment: Java 1.9+
>            Reporter: Matt Sicker
>
> [StackWalker|http://download.java.net/jdk9/docs/api/java/lang/StackWalker.html]
> Based on the functional nature of this API, supporting it may require 
> compiling at least one class using javac 1.9 and reflectively loading it in 
> ReflectionUtil similar to how Spring supports newer JDK APIs.
> Without support for StackWalker, ReflectionUtil will fall back to using a 
> slower API in Java 1.9. This is because the Reflection class is a 
> sun-internal class which are no longer exported to non-JDK code without 
> setting special command line flags.



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

Reply via email to