equal
deleted
inserted
replaced
171 "-cp", destJar.toString(), |
171 "-cp", destJar.toString(), |
172 "--module-path", moduleDir.toString(), |
172 "--module-path", moduleDir.toString(), |
173 "-m", TEST_MODULE1) |
173 "-m", TEST_MODULE1) |
174 .assertAbnormalExit( |
174 .assertAbnormalExit( |
175 "A jar/jimage file is not the one used while building the shared archive file:"); |
175 "A jar/jimage file is not the one used while building the shared archive file:"); |
|
176 // create an archive with a non-empty directory in the --module-path. |
|
177 // The dumping process will exit with an error due to non-empty directory |
|
178 // in the --module-path. |
|
179 output = TestCommon.createArchive(destJar.toString(), appClasses, |
|
180 "-Xlog:class+load=trace", |
|
181 "--module-path", MODS_DIR.toString(), |
|
182 "-m", TEST_MODULE1); |
|
183 output.shouldHaveExitValue(1) |
|
184 .shouldMatch("Error: non-empty directory.*com.simple"); |
176 } |
185 } |
177 } |
186 } |