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

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

     [ https://issues.apache.org/jira/browse/LOG4J2-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers resolved LOG4J2-2028.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.9.1

Thanks for the patch. It has been applied. Please verify and close.

> 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
>             Fix For: 2.9.1
>
>
> 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)