Skip to content

Commit de9624e

Browse files
authored
Merge pull request #8810 from radeusgd/fix-i8809-locales
Fix #8809: force locale in the JVM executing tests.
2 parents 7c4c672 + be8c601 commit de9624e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/vulpix/RunnerOrchestration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ trait RunnerOrchestration {
159159
val url = classOf[ChildJVMMain].getProtectionDomain.getCodeSource.getLocation
160160
val cp = Paths.get(url.toURI).toString + JFile.pathSeparator + Properties.scalaLibrary
161161
val javaBin = Paths.get(sys.props("java.home"), "bin", "java").toString
162-
new ProcessBuilder(javaBin, "-Dfile.encoding=UTF-8", "-Xmx1g", "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
162+
new ProcessBuilder(javaBin, "-Dfile.encoding=UTF-8", "-Duser.language=en", "-Duser.country=US", "-Xmx1g", "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
163163
.redirectErrorStream(true)
164164
.redirectInput(ProcessBuilder.Redirect.PIPE)
165165
.redirectOutput(ProcessBuilder.Redirect.PIPE)

0 commit comments

Comments
 (0)