提交 cb48aca0 编写于 作者: C ctornqvi

8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to...

8034781: [TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class
Summary: Passed empty string to ProcessBuilder which caused problems on Linux, fixed by checking string length
Reviewed-by: lfoltan, sla, mseledtsov
上级 7fdf6862
......@@ -154,7 +154,7 @@ public final class ProcessTools {
if (addTestVmOptions) {
String vmopts = System.getProperty("test.vm.opts");
if (vmopts != null) {
if (vmopts != null && vmopts.length() > 0) {
Collections.addAll(args, vmopts.split("\\s"));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册