equal
deleted
inserted
replaced
159 } |
159 } |
160 |
160 |
161 private int doTest() throws Exception { |
161 private int doTest() throws Exception { |
162 |
162 |
163 for (int i = 0; i < MAX_GET_FREE_PORT_TRIES; ++i) { |
163 for (int i = 0; i < MAX_GET_FREE_PORT_TRIES; ++i) { |
164 final String pp = "-Dcom.sun.management.jmxremote.port=" + jdk.testlibrary.Utils.getFreePort(); |
164 final String pp = "-Dcom.sun.management.jmxremote.port=" + jdk.test.lib.Utils.getFreePort(); |
165 |
165 |
166 List<String> command = new ArrayList<>(); |
166 List<String> command = new ArrayList<>(); |
167 command.addAll(jdk.testlibrary.Utils.getVmOptions()); |
167 command.addAll(jdk.test.lib.Utils.getVmOptions()); |
168 command.add(mp); |
168 command.add(mp); |
169 command.add(pp); |
169 command.add(pp); |
170 command.add("-cp"); |
170 command.add("-cp"); |
171 command.add(TEST_CLASSES); |
171 command.add(TEST_CLASSES); |
172 command.add(className); |
172 command.add(className); |