equal
deleted
inserted
replaced
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 } |