You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/06/13 09:26:24 UTC

[groovy] 01/01: Address which tests are affected by "--illegal-access=deny"

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch danielsun/illgal-access-deny
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 1f4af51fe13c98062753923832125cf17138144f
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sun Jun 13 17:26:05 2021 +0800

    Address which tests are affected by "--illegal-access=deny"
---
 buildSrc/src/main/groovy/org.apache.groovy-tested.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/org.apache.groovy-tested.gradle b/buildSrc/src/main/groovy/org.apache.groovy-tested.gradle
index 254b9e4..4f80b13 100644
--- a/buildSrc/src/main/groovy/org.apache.groovy-tested.gradle
+++ b/buildSrc/src/main/groovy/org.apache.groovy-tested.gradle
@@ -36,7 +36,7 @@ tasks.withType(Test).configureEach {
     def fs = objects.newInstance(TestServices).fileSystemOperations
     def grapeDirectory = new File(temporaryDir, "grape")
     def jdk8 = ['-XX:+UseConcMarkSweepGC']
-    def jdk9 = ['-Djava.locale.providers=COMPAT,SPI']
+    def jdk9 = ['-Djava.locale.providers=COMPAT,SPI', '--illegal-access=debug']
 //        def jdk9 = ['-Djava.locale.providers=COMPAT,SPI', '--illegal-access=debug']
     def common = ['-ea', "-Xms${groovyJUnit_ms}", "-Xmx${groovyJUnit_mx}", "-Duser.language=en"]
     if (JavaVersion.current().isJava9Compatible()) {