LUCENE-9587: Add '--illegal-access=deny' to test runner (#2039)

This commit is contained in:
Uwe Schindler 2020-10-27 23:28:25 +01:00 committed by GitHub
parent 6d00843d97
commit 9ce4b98af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ allprojects {
ignoreFailures = resolvedTestOption("tests.haltonfailure").toBoolean() == false ignoreFailures = resolvedTestOption("tests.haltonfailure").toBoolean() == false
jvmArgs Commandline.translateCommandline(resolvedTestOption("tests.jvmargs")) jvmArgs Commandline.translateCommandline(resolvedTestOption("tests.jvmargs"))
jvmArgs '--illegal-access=deny'
systemProperty 'java.util.logging.config.file', file("${resources}/logging.properties") systemProperty 'java.util.logging.config.file', file("${resources}/logging.properties")
systemProperty 'java.awt.headless', 'true' systemProperty 'java.awt.headless', 'true'