Re: [VOTE] Release Apache Log4j `2.26.0`
"Piotr P. Karwasz" <[email protected]> Tue, 5 May 2026 23:10:13 +0200
| Newsgroups | gmane.comp.jakarta.log4j.devel |
|---|---|
| Message-ID | <3b07fb25-acaa-4d4b-adae-d8373ff5b892__45423.9173139044$1778015439$gmane$org@mailing.copernik.eu> |
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 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