提交 0c6fae30 编写于 作者: V vlivanov

8078423: [TESTBUG] javax/print/PrintSEUmlauts/PrintSEUmlauts.java relies on system locale

Reviewed-by: martin
上级 75b158f6
......@@ -107,14 +107,14 @@ public class PrintSEUmlauts implements Printable {
System.err.println("printing content");
System.err.println(content);
}
throw new RuntimeException("Expected <e4> to represent 'ä' but not found!");
throw new RuntimeException("Expected <e4> to represent '\u00e4' but not found!");
}
System.err.println("SUCCESS");
}
public int print(Graphics g, PageFormat pf, int pg) {
if (pg > 0) return NO_SUCH_PAGE;
g.drawString("ä", 100, 100);
g.drawString("\u00e4", 100, 100);
return PAGE_EXISTS;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册