mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
A few fixes to makes tests run on JDK 17
This commit is contained in:
@@ -51,3 +51,10 @@ task jarTest(type: Jar, dependsOn: testClasses) {
|
||||
artifacts {
|
||||
testOutput jarTest
|
||||
}
|
||||
|
||||
test {
|
||||
// for random = context.mock(SecureRandom.class); in PollerImplTest
|
||||
jvmArgs = [
|
||||
'--add-opens', 'java.base/java.security=ALL-UNNAMED',
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user