Rainer Jung created LOG4J2-2063:
-----------------------------------
Summary: JDK 9 Location info wrong for Solaris Sparc due to JVM bug
Key: LOG4J2-2063
URL: https://issues.apache.org/jira/browse/LOG4J2-2063
Project: Log4j 2
Issue Type: Bug
Components: Core
Affects Versions: 2.9.1
Environment: Solaris 10 Sparc with Java 9 GA.
Reporter: Rainer Jung
Priority: Minor
The StackWalker used to obtain location info when running under Java 9 has a
bug on Solaris Sparc. the line number returned by it is always start of the
method, not the actual line number of the stack frame.
For reference:
https://bugs.openjdk.java.net/browse/JDK-8187926
and
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8187926
This issue here is to document the problem for people running into it. I think
there's not much Log4J2 can do to work around it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)