Skip to content

Commit be8c601

Browse files
committed
Fix #8809: force locale in the JVM executing tests.
1 parent 1b00033 commit be8c601

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)