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/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 760d3f363 ORC-2111: Ensure `Annotation Processing` in Java compilation
for Java 23+
760d3f363 is described below
commit 760d3f3639ce6a457195ed689d8955a0207e74cb
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Feb 24 20:09:34 2026 -0800
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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
java/pom.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/pom.xml b/java/pom.xml
index d925dc311..0f96475f9 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -79,6 +79,7 @@
<maven-dependency-plugin.version>3.10.0</maven-dependency-plugin.version>
<maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
<maven-shade-plugin.version>3.6.1</maven-shade-plugin.version>
+ <maven.compiler.proc>full</maven.compiler.proc>
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
<maven.version>3.9.12</maven.version>