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 2019/11/01 16:36:58 UTC
[groovy] branch master updated: Show illegal access warnings
without detailed messages.
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 160ea68 Show illegal access warnings without detailed messages.
160ea68 is described below
commit 160ea6899d8d84b18b5e667834242e025d48c2b2
Author: Daniel Sun <su...@apache.org>
AuthorDate: Sat Nov 2 00:36:44 2019 +0800
Show illegal access warnings without detailed messages.
The remaining illegal access warnings should be fixed by modifying test code as they are truely illegal
---
gradle/test.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gradle/test.gradle b/gradle/test.gradle
index e9257b3..4d3d282 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -19,8 +19,8 @@
allprojects {
tasks.withType(Test) {
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']
+// 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()) {
jvmArgs (*common, *jdk9)