提交 6d8dcdc3 编写于 作者: K kizune

8025738: locale related test fails on langtools mac 10.7 test host

Reviewed-by: ksrini
上级 752ddd5c
...@@ -54,7 +54,13 @@ public class DiacriticTest extends TestHelper { ...@@ -54,7 +54,13 @@ public class DiacriticTest extends TestHelper {
"}\n"; "}\n";
ArrayList<String> content = new ArrayList<>(); ArrayList<String> content = new ArrayList<>();
content.add(source); content.add(source);
try {
createFile(sourceFile, content); createFile(sourceFile, content);
} catch (java.nio.file.InvalidPathException ipe) {
System.out.println("The locale or file system is configured in a way " +
"that prevents file creation. Real testing impossible.");
return;
}
HashMap<String, String> env = new HashMap<>(); HashMap<String, String> env = new HashMap<>();
env.put("LC_CTYPE", "UTF-8"); env.put("LC_CTYPE", "UTF-8");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册