< prev index next >

test/runtime/logging/ClassLoadUnloadTest.java

Print this page

        

@@ -72,11 +72,11 @@
     // Use the same command-line heap size setting as ../ClassUnload/UnloadTest.java
     static ProcessBuilder exec(String... args) throws Exception {
         List<String> argsList = new ArrayList<>();
         Collections.addAll(argsList, args);
         Collections.addAll(argsList, "-Xmn8m");
-        Collections.addAll(argsList, "-Dtest.classes=" + System.getProperty("test.classes","."));
+        Collections.addAll(argsList, "-Dtest.class.path=" + System.getProperty("test.class.path", "."));
         Collections.addAll(argsList, ClassUnloadTestMain.class.getName());
         return ProcessTools.createJavaProcessBuilder(argsList.toArray(new String[argsList.size()]));
     }
 
     public static void main(String... args) throws Exception {
< prev index next >