提交 333362c4 编写于 作者: M mcimadamore

6760226: test/tools/javap/T6622260.java fails with specific locale settings

Summary: Changed the regression test in order to make it more robust w.r.t. to locale settings
Reviewed-by: jjg
上级 c5e354e5
......@@ -189,10 +189,7 @@ public class T6622260 {
void verify(String output) {
System.out.println(output);
if (output.startsWith("Classfile")) {
// make sure to ignore filename
output = output.substring(output.indexOf('\n'));
}
output = output.substring(output.indexOf("Test.java"));
if (output.indexOf("-") >= 0)
throw new Error("- found in output");
if (output.indexOf("FFFFFF") >= 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册