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

Stack locator calc location is broken on JDK 9 in 2.9.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 2.9.1
    • API
    • None

    Description

      The method for calculating the location via the StackLocator is broken on JDK 9 in 2.9.0. The problem is the condition for dropping from the top of the frame is negated so no frames get dropped so it's always reporting the first element on the frame. I opened a pull request for this: https://github.com/apache/logging-log4j2/pull/109

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jasontedor Jason E Tedor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: