ppkarwasz opened a new pull request, #4515: URL: https://github.com/apache/logging-log4j2/pull/4515
The `java8-tests` profile of `log4j-parent` only moves the `default-test` run to Java 8: in CI the `test-serial-filter` execution of `log4j-core-test` runs on the JDK that runs Maven (17). This adds a `java8-tests` profile to `log4j-core-test`, with the same activation, that also runs `test-serial-filter` on Java 8, so that the process-wide `jdk.serialFilter` is tested on all supported JDKs. Forward-port of the build change in #4466 (`3766b9dd6f`). `WrappedObjectsTest` from that commit is not needed on `2.x`, where `Log4jLogEvent` uses `SerializationUtil` from `log4j-api`. ## Testing `CI=true ./mvnw -pl log4j-core-test install` restricted to the `serialization`-tagged tests: both `default-test` and `test-serial-filter` run on the JDK 8 toolchain and pass (15 tests in `test-serial-filter`). 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
