From 2dc4ad65a32c744d6ab895118348bef381a1b439 Mon Sep 17 00:00:00 2001 From: Steven Arzt Date: Fri, 20 Sep 2024 16:40:31 +0200 Subject: [PATCH 1/7] update the build pipeline to newer Java versions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32c0b3f5f46..041415457e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java_version: ['8', '9', '11'] + java_version: ['11', '17', '21'] steps: - name: Checkout From 014adeee4465e96d9aef9d4601fb6de954121968 Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Fri, 20 Sep 2024 17:17:01 +0200 Subject: [PATCH 2/7] Fix workflow --- .github/workflows/ci.yml | 6 +++--- pom.xml | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 041415457e8..8c2582a6ddf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,11 @@ jobs: - name: Stylecheck if: always() run: | - mvn -B clean checkstyle:check -Dcheckstyle.failOnViolation=true + mvn -B --no-transfer-progress clean checkstyle:check -Dcheckstyle.failOnViolation=true - name: Licensecheck if: always() run: | - mvn -B clean license:check-file-header -Dlicence-check.failOnMissingHeader=true + mvn -B --no-transfer-progress clean license:check-file-header -Dlicence-check.failOnMissingHeader=true BuildAndTest: name: Build and Test with java ${{ matrix.java_version }} @@ -42,7 +42,7 @@ jobs: java-version: ${{ matrix.java_version }} - name: Build and test Java ${{ matrix.java_version }} run: | - mvn -B clean test -PJava${{ matrix.java_version }} + mvn -B --no-transfer-progress clean test -PJava${{ matrix.java_version }} DeployArtifacts: diff --git a/pom.xml b/pom.xml index de5e4216795..d10f269e4a0 100644 --- a/pom.xml +++ b/pom.xml @@ -319,6 +319,10 @@ false false 1 + + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + From 796fc93f9eb82f0f7a0422f56dea1163c45b3e18 Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Fri, 20 Sep 2024 17:22:39 +0200 Subject: [PATCH 3/7] pom.xml: apply add-opens more generically --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index d10f269e4a0..dd1f9275483 100644 --- a/pom.xml +++ b/pom.xml @@ -305,6 +305,10 @@ false 1 ${testcase.groups.excluded} + + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + @@ -319,10 +323,6 @@ false false 1 - - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - From 3545226467217a65433daed43d6df891e2abe846 Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Fri, 20 Sep 2024 17:26:21 +0200 Subject: [PATCH 4/7] open regex --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index dd1f9275483..215ee69dc86 100644 --- a/pom.xml +++ b/pom.xml @@ -308,6 +308,7 @@ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.util.regex=ALL-UNNAMED From dcac1457c21203539f34908cf55f3a4d3f32acde Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Fri, 20 Sep 2024 17:32:17 +0200 Subject: [PATCH 5/7] open stream --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 215ee69dc86..0ce8c526bfb 100644 --- a/pom.xml +++ b/pom.xml @@ -309,6 +309,7 @@ --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED + --add-opens=java.base/java.util.stream=ALL-UNNAMED From 889b1f939fe341818e19bc9c5af42d3a8f3751de Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Fri, 20 Sep 2024 17:36:03 +0200 Subject: [PATCH 6/7] exports: add java.io --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 0ce8c526bfb..d09f8b640d8 100644 --- a/pom.xml +++ b/pom.xml @@ -310,6 +310,7 @@ --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED From 9786a19103bf148f222e53b99d62ac2b089aeaf9 Mon Sep 17 00:00:00 2001 From: Marc Miltenberger Date: Fri, 20 Sep 2024 17:40:46 +0200 Subject: [PATCH 7/7] open java.net --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index d09f8b640d8..fdd2aa2db66 100644 --- a/pom.xml +++ b/pom.xml @@ -311,6 +311,7 @@ --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED