Skip to content

Commit f2426d1

Browse files
authored
Upgrade to JDK from 11 to 17 and Guava version from 33.1.0 to 33.4.8 (#1559)
1 parent b52879d commit f2426d1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface. For details, see [the README](gcs/README.md).
1919

2020
## Building the Cloud Storage connector
2121

22-
> Note that build requires Java 11+ and fails with older Java versions.
22+
> Note that build requires Java 17+ and fails with older Java versions.
2323
2424
To build the connector for specific Hadoop version, run the following commands
2525
from the main directory:

cloudbuild/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# This Dockerfile creates an image for running presubmit tests.
16-
FROM eclipse-temurin:11-jdk
16+
FROM eclipse-temurin:17-jdk
1717

1818
# Copy everything into the container to allow concurrent build execution
1919
COPY . /hadoop-connectors

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
<properties>
6262
<argLine/>
6363

64-
<build.java.source.version>11</build.java.source.version>
65-
<build.java.target.version>11</build.java.target.version>
64+
<build.java.source.version>17</build.java.source.version>
65+
<build.java.target.version>17</build.java.target.version>
6666

6767
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6868

@@ -75,7 +75,7 @@
7575
<google.error-prone.version>2.16</google.error-prone.version>
7676
<google.error-prone-annotations.version>2.38.0</google.error-prone-annotations.version>
7777
<google.flogger.version>0.7.4</google.flogger.version>
78-
<google.guava.version>33.1.0-jre</google.guava.version>
78+
<google.guava.version>33.4.8-jre</google.guava.version>
7979
<google.java-format.version>1.15.0</google.java-format.version>
8080
<hadoop.version>3.4.2</hadoop.version>
8181
<opencensus.version>0.31.1</opencensus.version>

0 commit comments

Comments
 (0)