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

Add support for Java 9 StackWalker API in ReflectionUtil

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
    • Environment:

      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

              • Assignee:
                ralph.goers@dslextreme.com Ralph Goers
                Reporter:
                jvz Matt Sicker
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: