The problem is that this will mess up Java 8 clients when code compiled against various Buffer classes runs due to methods added or tweaked in Java 9's Buffer classes.
Gary Gary On Tue, Feb 4, 2020, 08:46 Volkan Yazici (Jira) <[email protected]> wrote: > Volkan Yazici created LOG4J2-2771: > ------------------------------------- > > Summary: Remove need for multiple JDKs during build > Key: LOG4J2-2771 > URL: https://issues.apache.org/jira/browse/LOG4J2-2771 > Project: Log4j 2 > Issue Type: Improvement > Reporter: Volkan Yazici > > > As of now, the build requires two JDKs: 7/8 and 11. As stated by > [~mattsicker] in [a mailing list discussion| > https://lists.apache.org/thread.html/r0ff7872f743b30a89cd4119b44ed028dc661be8875e1c29546559d42%40%3Cdev.logging.apache.org%3E], > this can be simplified by > # only relying on JDK 11, > # fixing compile errors, and > # ensuring bytecode compatibility via [maven-animal-sniffer| > https://www.mojohaus.org/animal-sniffer/index.html]. > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005) >
