diff --git a/.github/workflows/precommit-udf-multiple-jdk.yml b/.github/workflows/precommit-udf-multiple-jdk.yml new file mode 100644 index 00000000..3efaf30f --- /dev/null +++ b/.github/workflows/precommit-udf-multiple-jdk.yml @@ -0,0 +1,27 @@ +name: precommit test - udf with multiple JDK +on: + push: + branches: [ main ] + pull_request: + branches: '**' + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 11, 17 ] + fail-fast: false + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Install Java + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: Decrypt profile.properties + run: .github/scripts/decrypt_profile.sh + env: + PROFILE_PASSWORD: ${{ secrets.PROFILE_PASSWORD }} + - name: Run test + run: mvn -Dgpg.skip test -Dsuites="com.snowflake.snowpark_test.AlwaysCleanUDFSuite" diff --git a/fips-pom.xml b/fips-pom.xml index 3b2c7fbd..3e96409b 100644 --- a/fips-pom.xml +++ b/fips-pom.xml @@ -576,6 +576,7 @@ --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED + --add-opens=java.base/sun.security.util=ALL-UNNAMED diff --git a/pom.xml b/pom.xml index c12b8455..c8bcdeb9 100644 --- a/pom.xml +++ b/pom.xml @@ -608,6 +608,7 @@ --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED + --add-opens=java.base/sun.security.util=ALL-UNNAMED