Skip to content

Commit c7327bb

Browse files
committed
Test with --sun-misc-unsafe-memory-access=deny
1 parent 567e737 commit c7327bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ jobs:
7070

7171
- name: Set up gradle
7272
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3
73+
7374
- name: Build
7475
run: >
7576
./gradlew build
7677
${{ matrix.coverage && 'jacocoTestReport' || '' }}
7778
-PtestJavaVersion=${{ matrix.test-java-version }}
7879
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }}"
7980
"-Porg.gradle.java.installations.auto-download=false"
81+
${{ matrix.test-java-version == 23 && '--sun-misc-unsafe-memory-access=deny' || '' }}
8082
env:
8183
# JMH-based tests run only if this environment variable is set to true
8284
RUN_JMH_BASED_TESTS: ${{ matrix.jmh-based-tests }}

0 commit comments

Comments
 (0)