[
https://issues.apache.org/jira/browse/LOG4J2-2126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265332#comment-16265332
]
Oleg Kalnichevski commented on LOG4J2-2126:
-------------------------------------------
{{ProcessIdUtil}} imports {{java.lang.management.ManagementFactory}}
{noformat}
../../../../../../.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.10.0/fec5797a55b786184a537abd39c3fa1449d752d6/log4j-api-2.10.0.jar:
Invalid package reference in library; not included in Android:
java.lang.management. Referenced from
org.apache.logging.log4j.util.ProcessIdUtil.
{noformat}
> Remove Log4J API dependency on Management APIs
> ----------------------------------------------
>
> Key: LOG4J2-2126
> URL: https://issues.apache.org/jira/browse/LOG4J2-2126
> Project: Log4j 2
> Issue Type: Bug
> Components: API
> Affects Versions: 2.9.1, 2.10.0
> Reporter: Oleg Kalnichevski
> Labels: regression
>
> Please consider removing dependency on Java Management APIs from Log4J API
> module in order to improve compatibility with Android Platform that does not
> support JMX extensions.
> It is a regression introduced in 2.9.1. Please see LOG4J2-1926 for details.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)