ppkarwasz opened a new issue, #2383: URL: https://github.com/apache/logging-log4j2/issues/2383
Since `java.xml` is an **optional** module in Log4j Core 3.x, we need to protect the users from linkage errors like the one reported in [LOG4J2-3681](https://issues.apache.org/jira/browse/LOG4J2-3681). I see two way to do it: - creating a `log4j-config-xml` module like we did with YAML in #2142, - moving the implementation details into their own class/package. The first solution seems a little bit drastic to me: **most** users will have `java.xml` or they will not care about JPMS at all. Regarding the second one, as far as I know the only way to access optional dependencies that is compatible with all JVMs is to access the implementation via reflection. We might as well move the configuration factory to an internal package and leave only a public facade. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org