It is there because there is a Java 9 version of it and I did not want to make multiple Java 9 modules.
Ralph > On Nov 25, 2017, at 7:54 AM, Mikael Ståldal <mi...@apache.org> wrote: > > Regarding https://issues.apache.org/jira/browse/LOG4J2-2126 > > Why is ProcessIdUtil in log4j-api in the first place? It is only used from > log4j-core. Can't we move it to log4j-core? > > I think that in general, we have too much things in log4j-api, and that > causes problems like this. >