test/jdk/sun/management/jmxremote/bootstrap/AbstractFilePermissionTest.java
changeset 51754 594919232b8f
parent 51675 b487c1e914d0
equal deleted inserted replaced
51753:763aa4d1d596 51754:594919232b8f
   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);