From fd418e62656e0251094beb406145e965c39c0d0b Mon Sep 17 00:00:00 2001 From: Star Poon Date: Thu, 26 Sep 2024 15:34:03 +0900 Subject: [PATCH] Use and require Java 23 --- .github/workflows/ci.yml | 2 +- .java-version | 2 +- docs/development.md | 4 ++-- docs/installation.md | 2 +- pom.xml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54a7a31b8..06dd9f9d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - java-version: [22, 23-ea] + java-version: [23] timeout-minutes: 20 steps: - name: Checkout source diff --git a/.java-version b/.java-version index 2bd5a0a98..409940768 100644 --- a/.java-version +++ b/.java-version @@ -1 +1 @@ -22 +23 diff --git a/docs/development.md b/docs/development.md index 562ef262e..d2239fefd 100644 --- a/docs/development.md +++ b/docs/development.md @@ -3,7 +3,7 @@ ## Build requirements * Mac OS X or Linux -* Java 22+, 64-bit +* Java 23+, 64-bit * Docker #### Running Trino Gateway in your IDE @@ -21,7 +21,7 @@ or execute the following command: #### Locally -This project requires Java 22. Note that higher version of Java have not been +This project requires Java 23. Note that higher version of Java have not been verified and may run into unexpected issues. Run `./mvnw clean install` to build `trino-gateway`. VM options required for diff --git a/docs/installation.md b/docs/installation.md index 4d5d302fd..a79596d8a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -21,7 +21,7 @@ Consider the following requirements for your Trino Gateway installation. ### Java -Trino Gateway requires a Java 22 runtime. Older versions of Java can not be +Trino Gateway requires a Java 23 runtime. Older versions of Java can not be used. Newer versions might work but are not tested. Verify the Java version on your system with `java -version`. diff --git a/pom.xml b/pom.xml index 4f21262c1..680282713 100644 --- a/pom.xml +++ b/pom.xml @@ -39,8 +39,8 @@ UTF-8 UTF-8 - 22 - 22 + 23 + 23 true true clean verify -DskipTests