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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.1
    • Component/s: API
    • Labels:
      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

              • Assignee:
                Unassigned
                Reporter:
                jasontedor Jason Tedor
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: