You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Zoltan Chovan (Code Review)" <ge...@cloudera.org> on 2026/03/02 14:53:38 UTC
[kudu-CR] [build][java] KUDU-3681: Move to JDK17
Hello Marton Greber, Alexey Serbin, Zoltan Martonka, Gabriella Lotz, Ashwani Raina, Attila Bukor, Kudu Jenkins, Abhishek Chennaka,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23259
to look at the new patch set (#5).
Change subject: [build][java] KUDU-3681: Move to JDK17
......................................................................
[build][java] KUDU-3681: Move to JDK17
This change aims to support building and running the java bits with Java 17.
The changes:
* change the source/targetCompatibility functions to support Java version 9+
* natively set release version when building with Java 9+
* use 'org.apache.tomcat:annotations-api' as a compileOnly dependency for the
'javax.annotations' package, since that was deprecated in Java 9
* upgrade jacoco dependency from 0.8.6 to 0.8.8 for Java17 compatibility
* upgrade the Hive dependency to 4.1.0
* after this change, it is no longer possible to compile Kudu java bits
with JDK versions lower than 17
Change-Id: I1f73c0d3a79e1c37b12a173881273b4b68d718b3
---
M java/gradle.properties
M java/gradle/compile.gradle
M java/gradle/dependencies.gradle
M java/gradle/docs.gradle
M java/gradle/quality.gradle
M java/gradle/tests.gradle
M java/kudu-backup-common/build.gradle
M java/kudu-hive/build.gradle
M java/kudu-hive/src/test/java/org/apache/kudu/hive/metastore/TestKuduMetastorePlugin.java
M java/kudu-proto/build.gradle
M java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/DefaultSourceTest.scala
11 files changed, 37 insertions(+), 41 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/59/23259/5
--
To view, visit http://gerrit.cloudera.org:8080/23259
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1f73c0d3a79e1c37b12a173881273b4b68d718b3
Gerrit-Change-Number: 23259
Gerrit-PatchSet: 5
Gerrit-Owner: Zoltan Chovan <zc...@cloudera.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Gabriella Lotz <lo...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Reviewer: Zoltan Chovan <zc...@cloudera.com>
Gerrit-Reviewer: Zoltan Martonka <zm...@cloudera.com>