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 2018/03/25 12:01:14 UTC
groovy git commit: Fix format issues
Repository: groovy
Updated Branches:
refs/heads/master ef0ac1fe5 -> 3190b697f
Fix format issues
If user language is not English, e.g. Chinese, the result of formatting with "MMMM dd, yyyy" is "二月 14, 2018"
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/3190b697
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/3190b697
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/3190b697
Branch: refs/heads/master
Commit: 3190b697f82bb3682a2688f79f3c002b16014a4d
Parents: ef0ac1f
Author: danielsun1106 <re...@hotmail.com>
Authored: Sun Mar 25 20:01:06 2018 +0800
Committer: danielsun1106 <re...@hotmail.com>
Committed: Sun Mar 25 20:01:06 2018 +0800
----------------------------------------------------------------------
gradle/test.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/3190b697/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 9870bef..02628e2 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -19,9 +19,9 @@
allprojects {
tasks.withType(Test) {
if (JavaVersion.current().isJava8Compatible()) {
- jvmArgs '-ea', "-Xms${groovyJUnit_ms}", "-Xmx${groovyJUnit_mx}", "-XX:+UseConcMarkSweepGC"
+ jvmArgs '-ea', "-Xms${groovyJUnit_ms}", "-Xmx${groovyJUnit_mx}", "-XX:+UseConcMarkSweepGC", "-Duser.language=en"
} else {
- jvmArgs '-ea', "-Xms${groovyJUnit_ms}", "-Xmx${groovyJUnit_mx}", "-XX:PermSize=${groovyJUnit_permSize}", "-XX:MaxPermSize=${groovyJUnit_maxPermSize}", "-XX:+UseConcMarkSweepGC"
+ jvmArgs '-ea', "-Xms${groovyJUnit_ms}", "-Xmx${groovyJUnit_mx}", "-XX:PermSize=${groovyJUnit_permSize}", "-XX:MaxPermSize=${groovyJUnit_maxPermSize}", "-XX:+UseConcMarkSweepGC", "-Duser.language=en"
}
def headless = System.properties['java.awt.headless']
if (headless == 'true') {