diff --git a/.github/workflows/jdk-17-tests.yml b/.github/workflows/jdk-17-tests.yml index 134dd5adec..0bab5b515e 100644 --- a/.github/workflows/jdk-17-tests.yml +++ b/.github/workflows/jdk-17-tests.yml @@ -36,7 +36,7 @@ jobs: run: echo "JAVA_VERSION=$(java -version)" - name: Set JAVA_TOOL_OPTIONS run: | - NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED --add-opens=java.base/java.util.TreeMap=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.lang.Thread=ALL-UNNAMED" + NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} --add-opens=java.base/java.net=ALL-UNNAMED" echo "JAVA_TOOL_OPTIONS=$NEW_JAVA_TOOL_OPTIONS" >> $GITHUB_ENV - name: Build in jdk11 run: mvn clean install -DskipTests --file pom.xml diff --git a/.github/workflows/jdk-21-tests.yml b/.github/workflows/jdk-21-tests.yml index ec6688e882..a2298b0af5 100644 --- a/.github/workflows/jdk-21-tests.yml +++ b/.github/workflows/jdk-21-tests.yml @@ -36,7 +36,7 @@ jobs: run: echo "JAVA_VERSION=$(java -version)" - name: Set JAVA_TOOL_OPTIONS run: | - NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED --add-opens=java.base/java.util.TreeMap=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.lang.Thread=ALL-UNNAMED" + NEW_JAVA_TOOL_OPTIONS="${{ env.JAVA_TOOL_OPTIONS }} -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true --add-opens=java.base/java.net=ALL-UNNAMED" echo "JAVA_TOOL_OPTIONS=$NEW_JAVA_TOOL_OPTIONS" >> $GITHUB_ENV - name: Build in jdk11 run: mvn clean install -DskipTests --file pom.xml