Skip to content

Commit f8255b3

Browse files
committed
add JVM args for tests
1 parent 64f67a1 commit f8255b3

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

tests/src/io.jsonwebtoken/jjwt-jackson/0.12.0/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,10 @@ graalvmNative {
3636
}
3737
}
3838

39+
tasks.named('test') {
40+
jvmArgs(
41+
'--add-opens=java.base/sun.security.util=ALL-UNNAMED',
42+
'--add-opens=java.base/java.io=ALL-UNNAMED'
43+
)
44+
}
3945

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Args = --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED
1+
Args = --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED

tests/tck-build-logic/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@ dependencies {
4141
test {
4242
useJUnitPlatform()
4343
}
44+
tasks.named('test') {
45+
jvmArgs(
46+
'--add-opens=java.base/sun.security.util=ALL-UNNAMED',
47+
'--add-opens=java.base/java.io=ALL-UNNAMED'
48+
)
49+
}

0 commit comments

Comments
 (0)