test/hotspot/jtreg/runtime/cds/appcds/AppendClasspath.java
changeset 57898 5ddb746d45e0
parent 57705 7cf02b2c1455
child 58679 9c3209ff7550
equal deleted inserted replaced
57897:e2e315f1aa63 57898:5ddb746d45e0
    93     TestCommon.run(
    93     TestCommon.run(
    94         "-Xlog:cds",
    94         "-Xlog:cds",
    95         "-cp", appJar2 + File.pathSeparator + appJar,
    95         "-cp", appJar2 + File.pathSeparator + appJar,
    96         "HelloMore")
    96         "HelloMore")
    97         .assertAbnormalExit(errorMessage1, errorMessage2);
    97         .assertAbnormalExit(errorMessage1, errorMessage2);
    98 
       
    99     // FAIL: 4) non-existing jar during dump time but jar exists during runtime
       
   100     TestCommon.testDump(classPath, TestCommon.list("Hello"));
       
   101 
       
   102     Files.copy(Paths.get(classDir, "hello.jar"),
       
   103         Paths.get(classDir, newFile),
       
   104         StandardCopyOption.REPLACE_EXISTING);
       
   105 
       
   106     TestCommon.run(
       
   107         "-cp", classPath,
       
   108         "-Xlog:class+path=trace",
       
   109         "Hello")
       
   110         .assertAbnormalExit(errorMessage1, errorMessage2);
       
   111 
       
   112     }
    98     }
   113 }
    99 }