You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Jason Tedor (JIRA)" <ji...@apache.org> on 2017/09/01 15:44:00 UTC

[jira] [Created] (LOG4J2-2028) Stack locator calc location is broken on JDK 9 in 2.9.0

Jason Tedor created LOG4J2-2028:
-----------------------------------

             Summary: Stack locator calc location is broken on JDK 9 in 2.9.0
                 Key: LOG4J2-2028
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2028
             Project: Log4j 2
          Issue Type: Bug
          Components: API
    Affects Versions: 2.9.0
            Reporter: Jason Tedor
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)