Mercurial > hg > truffle
changeset 17880:e1fc9306859a
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
author | ctornqvi |
---|---|
date | Wed, 12 Feb 2014 20:40:02 +0100 |
parents | d55853ba088b |
children | 534fbe3d90f0 |
files | test/testlibrary/com/oracle/java/testlibrary/ProcessTools.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/testlibrary/com/oracle/java/testlibrary/ProcessTools.java Mon Feb 10 17:49:17 2014 +0100 +++ b/test/testlibrary/com/oracle/java/testlibrary/ProcessTools.java Wed Feb 12 20:40:02 2014 +0100 @@ -154,7 +154,7 @@ if (addTestVmOptions) { String vmopts = System.getProperty("test.vm.opts"); - if (vmopts != null) { + if (vmopts != null && vmopts.length() > 0) { Collections.addAll(args, vmopts.split("\\s")); } }