Hi Piotr, If Java 11 is the minimum requirement, the why is 8 still listed in .github/workflows/log4j-kafka-test.yml in the PR?
Gary On Fri, Aug 4, 2023, 3:35 AM Piotr P. Karwasz <piotr.karw...@gmail.com> wrote: > Hi all, > > I have merged PR#1369[1] and bumped the requirement for the JDK used > to build `2.x` to JDK 11+, which is able to compile all our modules. > If your JAVA_HOME points to a JDK 8 installation, you'll get a build > failure. > > On the other hand Maven Toolchains are no longer required, unless you > want to run your tests on JRE 8, in which case: > * configure a JDK 8 toolchain, > * run `./mvnw verify -Pjava8-tests` > > Of course the whole building instructions are available in our > BUILDING.md[2]. > > Piotr > > PS: If you use JDK 17 you'll get a bunch of failing tests. I didn't > want to waste time fixing them, since we'll probably fix them properly > in a couple of months. > > [1] https://github.com/apache/logging-log4j2/pull/1369 > [2] https://github.com/apache/logging-log4j2/blob/2.x/BUILDING.md >