OK, after updating Java 8 to it works: +1. Using "mvn clean verify"
java version "1.8.0_481" Java(TM) SE Runtime Environment (build 1.8.0_481-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.481-b10, mixed mode) Openjdk version "17.0.19" 2026-04-21 OpenJDK Runtime Environment Homebrew (build 17.0.19+0) OpenJDK 64-Bit Server VM Homebrew (build 17.0.19+0, mixed mode, sharing) Apache Maven 3.9.15 (98b2cdbfdb5f1ac8781f537ea9acccaed7922349) Maven home: /opt/homebrew/Cellar/maven/3.9.15/libexec Java version: 17.0.19, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk@17/17.0.19/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "26.4.1", arch: "aarch64", family: "mac" Darwin ****.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:33:25 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T6041 arm64 Docker version 29.4.1, build 055a478 Gary On Tue, May 5, 2026 at 5:38 PM Gary Gregory <[email protected]> wrote: > > On Tue, May 5, 2026 at 5:30 PM Gary Gregory <[email protected]> wrote: > > > > On Tue, May 5, 2026 at 5:11 PM Piotr P. Karwasz > > <[email protected]> wrote: > > > > > > Hi Gary, > > > > > > On 5.05.2026 13:14, Gary Gregory wrote: > > > > Thank you for the update Piotr. So don't you need to enable the > > > > "docker" profile? I don't see "-P docker" above. > > > > > > You can enable the profile explicitly, but it is activated by default > > > when `CI=true`. Admittedly, picking a less implicit trigger would have > > > been a better choice. > > > > > > On 5.05.2026 13:26, Gary Gregory wrote: > > > > Caused by: [CIRCULAR REFERENCE: foo.TestFriendlyException: r_c > > > > [localized]] > > > > > > You've hit a JDK 8 bug: > > > > > > https://bugs.openjdk.org/browse/JDK-8252489 > > > > But I'm using Java 17: > > > > java -version > > openjdk version "17.0.19" 2026-04-21 > > OpenJDK Runtime Environment Homebrew (build 17.0.19+0) > > OpenJDK 64-Bit Server VM Homebrew (build 17.0.19+0, mixed mode, sharing) > > > > The build doesn't run at all on Java 8: > > > > CI=true mvn clean verify \ > > -P docker \ > > -Ddocker-maven-plugin.version=0.48.1 > > Unrecognized option: --add-exports > > Error: Could not create the Java Virtual Machine. > > Error: A fatal exception has occurred. Program will exit. > > > > java -version > > java version "1.8.0_471" > > Java(TM) SE Runtime Environment (build 1.8.0_471-b09) > > Java HotSpot(TM) 64-Bit Server VM (build 25.471-b09, mixed mode) > > I'll update my Java 8... > > Gary > > > > > Gary > > > > > > > > > > The format that `Throwable#printStackTrace()` produces for circular > > > references changed in *8u272*: both the `Caused by:` / `Suppressed:` > > > caption and the space after `[CIRCULAR REFERENCE:` were added by that fix. > > > > > > Our test compares Log4j's output to the live JVM's `printStackTrace()` > > > output, so it only passes on 8u272 or newer. My local JDK is 1.8.0_482, > > > which is why it passes for me; you must be running an older 8u build. > > > > > > Piotr
