mirror of https://github.com/apache/lucene.git
LUCENE-9278: Fix passing of Java properties for locale: The arguments must be separated.
This commit is contained in:
parent
6f775bfa69
commit
9ee8aa61de
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue