You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2026/07/09 17:32:30 UTC
(impala) 02/02: IMPALA-15151: Set Java source version to 17
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 087c32bcf44f9a5af5df54ccfb4e9bc27ecd3ab1
Author: Peter Rozsa <pr...@cloudera.com>
AuthorDate: Wed Jul 8 16:01:41 2026 +0200
IMPALA-15151: Set Java source version to 17
Bump maven.compiler.source from 8 to 17 in java/pom.xml.
sun.misc.Unsafe was explicitly exempted from strong encapsulation in
Java 17 (JEP 260, JEP 403), so it remains accessible without
--add-exports.
Change-Id: Iccb7b9cc28ad8ade554298503f2d8f4dee789151
Assisted-by: Claude Sonnet 4.6 (OpenCode)
Reviewed-on: http://gerrit.cloudera.org:8080/24561
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Michael Smith <mi...@cloudera.com>
Reviewed-by: Zoltan Borok-Nagy <bo...@cloudera.com>
---
java/pom.xml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/java/pom.xml b/java/pom.xml
index 34d6bed44..369ccbf44 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -91,9 +91,8 @@ under the License.
<dropwizard-metrics.version>${env.IMPALA_DROPWIZARD_METRICS_VERSION}</dropwizard-metrics.version>
<aircompressor.version>${env.IMPALA_AIRCOMPRESSOR_VERSION}</aircompressor.version>
<datasketches.version>${env.IMPALA_DATASKETCHES_VERSION}</datasketches.version>
- <!-- Informs maven-compiler-plugin to build for specified target.
- Source version is fixed at 8, primarily due to sun.misc.Unsafe. -->
- <maven.compiler.source>8</maven.compiler.source>
+ <!-- Informs maven-compiler-plugin to build for specified target. -->
+ <maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>${env.IMPALA_JAVA_TARGET}</maven.compiler.target>
</properties>