Skip to content

Commit b5e04b8

Browse files
committed
[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]>
1 parent 0445349 commit b5e04b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ subprojects {
5858

5959
tasks.withType(JavaCompile).configureEach {
6060
options.release = 17
61+
options.compilerArgs.add("-proc:full")
6162
}
6263

6364
repositories {

0 commit comments

Comments
 (0)