dongjoon-hyun opened a new pull request, #969: URL: https://github.com/apache/spark-kubernetes-operator/pull/969
### What changes were proposed in this pull request? This PR aims to support `Java 27` officially for the Apache Spark K8s Operator which has more rapid release cadence. - Use `eclipse-temurin:27-jdk-alpine` instead of `eclipse-temurin:26-jdk-alpine` in the `jlink` stage of `build-tools/docker/Dockerfile`. - Use `Java 27` instead of `Java 26` in the `lint` job of `build_and_test.yml`. ### Why are the changes needed? Java 27 arrived on September 15, 2026 with new improvements and bug fixes. - https://openjdk.org/projects/jdk/27/ | JEP | Title | |---|---| | 523 | [Make G1 the Default Garbage Collector in All Environments](https://openjdk.org/jeps/523) | | 527 | [Post-Quantum Hybrid Key Exchange for TLS 1.3](https://openjdk.org/jeps/527) | | 531 | [Lazy Constants (Third Preview)](https://openjdk.org/jeps/531) | | 532 | [Primitive Types in Patterns, instanceof, and switch (Fifth Preview)](https://openjdk.org/jeps/532) | | 533 | [Structured Concurrency (Seventh Preview)](https://openjdk.org/jeps/533) | | 534 | [Compact Object Headers by Default](https://openjdk.org/jeps/534) | | 536 | [JFR In-Process Data Redaction](https://openjdk.org/jeps/536) | | 537 | [Vector API (Twelfth Incubator)](https://openjdk.org/jeps/537) | | 538 | [PEM Encodings of Cryptographic Objects (Third Preview)](https://openjdk.org/jeps/538) | In particular, `Compact Object Headers` are enabled by default in Java 27, so `-XX:+UseCompactObjectHeaders` is not needed for Java 27 in the `build-test` job. The Apache Spark K8s Operator is ready to support and use Java 27 based on the recent changes: - #887 - #888 - #965 - #968 ### Does this PR introduce _any_ user-facing change? Yes. The custom JRE in the operator Docker image will be built from Java 27 instead of Java 26. The generated bytecode (Java 21) is unchanged. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Sonnet 5.5 -- 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]
