On Sun, 12 Jun 2022 at 12:13, Piotr P. Karwasz <piotr.karw...@gmail.com> wrote:
> Hi all, > > Currently the `release-2.x` branch must be run using JDK 8 and uses > Maven's toolchains to compile Java 9+ code. [snip] Maybe we could switch to > compiling `release-2.x` using Java 11 with the `--release 8` after > 2.18.0 is out? I would keep the toolchains configuration exclusively > for the Maven Surefire plugin: it would scan the test classes using > the current JVM and fork an authentic JVM 8 to run the tests. What do > you think? > > Piotr > sounds good to me. I reckon this will give log4j2 a longer lease of life which will be very important for people who have moved there from log4j-v1 and don't want to go near log4j3 for a long time yet. Also I am sure many projects will be on jdk-8 for quite some time yet. -- Regards, Andrew Marlow http://www.andrewpetermarlow.co.uk