Skip to content

Commit 4ba39fa

Browse files
committed
ORC-2111: Ensure Annotation Processing in Java compilation for Java 23+
### What changes were proposed in this pull request? This PR aims to ensure `Annotation Processing` in all Java compilation. Previously, we missed the benchmark module. - #2262 ### Why are the changes needed? Since JDK 23, `Annotation Processing` is disabled by default. We need to enable it explicitly to be consistent across Java 17/21/25. - [JDK 23: Changes Default Annotation Processing Policy](https://inside.java/2024/06/18/quality-heads-up/) For example, `benchmark` module fails without this on Java 25. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity` Closes #2556 from dongjoon-hyun/ORC-2111. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 760d3f3) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent 19acb47 commit 4ba39fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
8080
<maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
8181
<maven-shade-plugin.version>3.6.1</maven-shade-plugin.version>
82+
<maven.compiler.proc>full</maven.compiler.proc>
8283
<maven.compiler.release>${java.version}</maven.compiler.release>
8384
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
8485
<maven.version>3.9.12</maven.version>

0 commit comments

Comments
 (0)