Skip to content

Commit e03eff1

Browse files
authored
Java 17 and Jetty 12 Upgrade
This change pulls up the minimum required java version for Presto to Java 17. It also includes upgrades to our airlift and drift libraries to be compatible with the latest Jetty 12 web server. For users upgrading from Java 8, you may need to include `--add-opens` flags in your JVM configuration in order for Presto to run without errors. For more details on this change please see prestodb#24866
1 parent a4b4e39 commit e03eff1

File tree

1,930 files changed

+7418
-5743
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,930 files changed

+7418
-5743
lines changed

.github/workflows/arrow-flight-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
java: [ 8.0.452, 17.0.15 ]
22+
java: [ 17.0.15 ]
2323
modules:
2424
- ":presto-base-arrow-flight" # Only run tests for the `presto-base-arrow-flight` module
2525

@@ -183,7 +183,7 @@ jobs:
183183
uses: actions/setup-java@v4
184184
with:
185185
distribution: 'temurin'
186-
java-version: 8.0.452
186+
java-version: 17.0.15
187187
cache: 'maven'
188188
- name: Download nodejs to maven cache
189189
run: .github/bin/download_nodejs

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/setup-java@v4
3838
with:
3939
distribution: 'temurin'
40-
java-version: 8.0.452
40+
java-version: 17.0.15
4141
cache: 'maven'
4242
- name: Maven Install
4343
run: |

.github/workflows/hive-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
java: [ 8.0.452, 17.0.15 ]
37+
java: [ 17.0.15 ]
3838
runs-on: ubuntu-latest
3939
needs: changes
4040
timeout-minutes: 60
@@ -88,7 +88,7 @@ jobs:
8888
strategy:
8989
fail-fast: false
9090
matrix:
91-
java: [ 8.0.452, 17.0.15 ]
91+
java: [ 17.0.15 ]
9292
runs-on: ubuntu-latest
9393
needs: changes
9494
timeout-minutes: 20

.github/workflows/kudu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
java: [ 8.0.452, 17.0.15 ]
35+
java: [ 17.0.15 ]
3636
runs-on: ubuntu-latest
3737
needs: changes
3838
timeout-minutes: 60

.github/workflows/maven-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
java: [ 8.0.452, 17.0.15 ]
18+
java: [ 17.0.15 ]
1919
runs-on: ubuntu-latest
2020
timeout-minutes: 45
2121
concurrency:

.github/workflows/presto-release-prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
required: false
1616

1717
env:
18-
JAVA_VERSION: ${{ vars.JAVA_VERSION || '17' }}
18+
JAVA_VERSION: ${{ vars.JAVA_VERSION || '17.0.13' }}
1919
JAVA_DISTRIBUTION: ${{ vars.JAVA_DISTRIBUTION || 'temurin' }}
2020
MAVEN_OPTS: ${{ vars.MAVEN_OPTS }}
2121
GIT_CI_USER: ${{ vars.GIT_CI_USER || 'prestodb-ci' }}

.github/workflows/prestocpp-linux-build-and-unit-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
uses: actions/setup-java@v4
175175
with:
176176
distribution: 'temurin'
177-
java-version: 8.0.452
177+
java-version: 17.0.15
178178
cache: 'maven'
179179
- name: Download nodejs to maven cache
180180
if: |
@@ -270,7 +270,7 @@ jobs:
270270
uses: actions/setup-java@v4
271271
with:
272272
distribution: 'temurin'
273-
java-version: '8.0.452'
273+
java-version: 17.0.15
274274
cache: 'maven'
275275
- name: Download nodejs to maven cache
276276
if: |
@@ -358,7 +358,7 @@ jobs:
358358
uses: actions/setup-java@v4
359359
with:
360360
distribution: 'temurin'
361-
java-version: '8.0.452'
361+
java-version: 17.0.15
362362
cache: 'maven'
363363
- name: Download nodejs to maven cache
364364
if: |
@@ -443,7 +443,7 @@ jobs:
443443
uses: actions/setup-java@v4
444444
with:
445445
distribution: 'temurin'
446-
java-version: '8.0.452'
446+
java-version: 17.0.15
447447
cache: 'maven'
448448
- name: Download nodejs to maven cache
449449
if: |

.github/workflows/product-tests-basic-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
java: [ 8.0.452, 17.0.15 ]
35+
java: [ 17.0.15 ]
3636
runs-on: ubuntu-latest
3737
needs: changes
3838
timeout-minutes: 60

.github/workflows/product-tests-specific-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
java: [ 8.0.452, 17.0.15 ]
35+
java: [ 17.0.15 ]
3636
runs-on: ubuntu-latest
3737
needs: changes
3838
timeout-minutes: 60
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
fail-fast: false
100100
matrix:
101-
java: [ 8.0.452, 17.0.15 ]
101+
java: [ 17.0.15 ]
102102
runs-on: ubuntu-latest
103103
needs: changes
104104
timeout-minutes: 60

.github/workflows/singlestore-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
java: [ 8.0.452, 17.0.15 ]
36+
java: [ 17.0.15 ]
3737
runs-on: ubuntu-latest
3838
needs: changes
3939
timeout-minutes: 30

0 commit comments

Comments
 (0)