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 2017/12/22 15:46:51 UTC

groovy git commit: Ignore unrecognized VM options

Repository: groovy
Updated Branches:
  refs/heads/master 0d80c49e1 -> 6e7e32907


Ignore unrecognized VM options

Some VM options such as `-XX:+CMSPermGenSweepingEnabled` are removed in JDK9[1], so JVM will fail to start if these unrecognized VM options are not ignored.

[1] http://www.oracle.com/technetwork/java/javase/9-removed-features-3745614.html


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/6e7e3290
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6e7e3290
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6e7e3290

Branch: refs/heads/master
Commit: 6e7e32907260b031e29e0a1753fe66d21795bbc6
Parents: 0d80c49
Author: sunlan <su...@apache.org>
Authored: Fri Dec 22 23:46:39 2017 +0800
Committer: sunlan <su...@apache.org>
Committed: Fri Dec 22 23:46:39 2017 +0800

----------------------------------------------------------------------
 gradle.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/6e7e3290/gradle.properties
----------------------------------------------------------------------
diff --git a/gradle.properties b/gradle.properties
index 903b2c4..37f613c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -33,7 +33,7 @@ javaDoc_mx=1g
 # jdk 9
 #org.gradle.jvmargs=-ea -Xmx1500m
 # jdk 6-8
-org.gradle.jvmargs=-Xms800m -Xmx1500m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
+org.gradle.jvmargs=-Xms800m -Xmx1500m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+IgnoreUnrecognizedVMOptions
 
 # enable the Gradle build cache
 org.gradle.caching=true