rustyrazorblade opened a new pull request, #101: URL: https://github.com/apache/cassandra-easy-stress/pull/101
## Summary - Bumps `sourceCompatibility`/`targetCompatibility`/Kotlin `jvmTarget` from 11 to 21; updates jib base image, deb/rpm runtime requirements, and all GitHub Actions workflows. - Launch script and Docker image default to Generational ZGC (`-XX:+UseZGC -XX:+ZGenerational`), overridable via `JAVA_OPTS`/`JAVA_TOOL_OPTIONS`. JDK 23+ removed `-XX:+ZGenerational` (it's now ZGC's only mode), so the launch script detects the running JDK's major version and only passes the flag below 23. - CI test matrix now covers JDK 21 and 25 (current + next LTS) instead of 17/21. - Bumps `mockk` (1.12.7 → 1.14.3) and `junit-jupiter`/`junit-platform` (unified at 6.1.3, plus an explicit `junit-platform-launcher` dependency) — required, the old versions broke test discovery against JDK-21-targeted bytecode. - Bumps `hadoop-common`/`hadoop-mapreduce-client-common` (3.4.1 → 3.4.3) to pick up [HADOOP-19212](https://issues.apache.org/jira/browse/HADOOP-19212), fixing `UserGroupInformation` throwing `UnsupportedOperationException` on JDK 24+ (Security Manager removal), which broke the Parquet output collector under JDK 25. - Upgrades the Gradle wrapper 8.14.3 → 9.7.0 — required because Gradle's own daemon can't run on JDK 25 before 9.1.0 (this was the actual JDK 25 CI failure: `Unsupported class file major version 69`). Fixes the build script's deprecated Groovy constructs flagged for removal in Gradle 9/10, and bumps the jib plugin (3.3.0 → 3.5.4), which was calling a Gradle Convention API removed in Gradle 9. - Pins detekt's task-level `jvmTarget` to 21 explicitly. ## Test plan - [x] `./gradlew test ktlintCheck detekt distTar shadowJar` on JDK 21.0.10 — passes (2 pre-existing local-Docker-only failures unrelated to this change). - [x] `./gradlew test40 test41 test50` on JDK 25.0.3 — passes (same 2 pre-existing failures). - [x] `./gradlew jibDockerBuild` on both JDK 21 and 25 — image builds and runs; confirmed Generational ZGC active via `-Xlog:gc+init` and correct fallback to plain `-XX:+UseZGC` on JDK 25. - [x] Extracted `distTar` output runs correctly; `LICENSE.txt` present at distribution root. - [ ] CI matrix (this PR triggers it) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
