equal
deleted
inserted
replaced
118 * the -Djava.io.tmpdir property. |
118 * the -Djava.io.tmpdir property. |
119 */ |
119 */ |
120 private static void launchTests(long pid, Path clientTmpDir) throws Throwable { |
120 private static void launchTests(long pid, Path clientTmpDir) throws Throwable { |
121 final String sep = File.separator; |
121 final String sep = File.separator; |
122 |
122 |
123 // Need to add jdk/lib/tools.jar to classpath. |
|
124 String classpath = |
123 String classpath = |
125 System.getProperty("test.class.path", "") + File.pathSeparator + |
124 System.getProperty("test.class.path", ""); |
126 System.getProperty("test.jdk", ".") + sep + "lib" + sep + "tools.jar"; |
|
127 |
125 |
128 String[] tmpDirArg = null; |
126 String[] tmpDirArg = null; |
129 if (clientTmpDir != null) { |
127 if (clientTmpDir != null) { |
130 tmpDirArg = new String [] {"-Djava.io.tmpdir=" + clientTmpDir}; |
128 tmpDirArg = new String [] {"-Djava.io.tmpdir=" + clientTmpDir}; |
131 } |
129 } |