Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1359

Add support for Java 9 StackWalker API in ReflectionUtil

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • API
    • Java 1.9+

    Description

      StackWalker

      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.

      Attachments

        Issue Links

          Activity

            People

              rgoers Ralph Goers
              mattsicker Matt Sicker
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: