This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new b5e04b8 [SPARK-53769] Enable `Annotation Processing` during Java
compilation
b5e04b8 is described below
commit b5e04b845f42621365b8aa5fb36feacd2a1d0a69
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Sep 30 18:51:51 2025 -0700
[SPARK-53769] Enable `Annotation Processing` during Java compilation
### What changes were proposed in this pull request?
This PR aims to ensure `Annotation Processing` in Java compilation.
### Why are the changes needed?
Since JDK 23, `Annotation Processing` is disabled by default. We need to
enable it explicitly in Java 25 to use it.
- [JDK 23: Changes Default Annotation Processing
Policy](https://inside.java/2024/06/18/quality-heads-up/)
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #357 from dongjoon-hyun/SPARK-53769.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
build.gradle | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.gradle b/build.gradle
index 637c5aa..b074413 100644
--- a/build.gradle
+++ b/build.gradle
@@ -58,6 +58,7 @@ subprojects {
tasks.withType(JavaCompile).configureEach {
options.release = 17
+ options.compilerArgs.add("-proc:full")
}
repositories {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]