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

Reply via email to