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

Mikael Ståldal commented on LOG4J2-2133:
----------------------------------------

I think we need one single incarnation of log4j-api which works on all 
platforms, including Android. Having to replace log4j-api is a bad user 
experience, especially for users who get log4j-api as a third party dependency 
to another library they use (such as HttpClient).

That doesn't have to be difficult, but it is now since we have gradually put 
more and more implementation code in a module that should really be only an 
interface.

I think we need to stop putting more implementation code in log4j-api, and try 
to remove the problematic implementation code which is there.


> 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