LUCENE-9278: Fix passing of Java properties for locale: The arguments must be separated.

This commit is contained in:
Uwe Schindler 2020-05-05 12:10:38 +02:00
parent 6f775bfa69
commit 9ee8aa61de
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ allprojects {
// -J flags can't be passed via options file... (an error "javadoc: error - invalid flag: -J-Xmx512m" occurs.)
args += [ "-J-Xmx512m" ]
// force locale to be "en_US" (fix for: https://bugs.openjdk.java.net/browse/JDK-8222793)
args += [ "-J-Duser.language=en -J-Duser.country=US" ]
args += [ "-J-Duser.language=en", "-J-Duser.country=US" ]
ignoreExitValue true
}