[ 
https://issues.apache.org/jira/browse/LOG4J2-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16276017#comment-16276017
 ] 

Ralph Goers commented on LOG4J2-2133:
-------------------------------------

I don't see how KISS applies to module-info. KISS means use the simplest 
approach to implement a feature. What you are suggesting would mean log4j-api 
would no longer be a Java 9 module.

StackLocator uses StackWalker (Java 9) which requires lamdas (Java 8). Although 
it is possible to write code equivalent to lambdas prior to Java 9, it wouldn't 
be pretty. And it would require reflection, which would probably make our stack 
walking slower than it is in Java 8 instead of faster.

> Log4J 2 appears incompatible with Android platform due to inclusion of Java 9 
> classes (class file version 53)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2133
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2133
>             Project: Log4j 2
>          Issue Type: Wish
>          Components: API
>    Affects Versions: 2.9.1, 2.10.0
>            Reporter: Oleg Kalnichevski
>         Attachments: Screenshot from 2017-11-28 09-41-37.png
>
>
> Log4J 2 appears incompatible with Android platform due to inclusion of Java 9 
> classes (class file version 53). Please see screenshot attached. 
> I fully admit that there might be a way to make Android ignore those files 
> but it is still disheartening that Log4J 2 APIs have dependencies on things 
> that go beyond providing a thin logging abstraction layer.
> Oleg



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

Reply via email to