jdk/test/tools/jlink/JLinkNegativeTest.java
changeset 44359 c6761862ca0b
parent 43796 c204d2d789dc
child 45004 ea3137042a61
equal deleted inserted replaced
44210:5a8499c4b32c 44359:c6761862ca0b
   191         try {
   191         try {
   192             JImageGenerator.getJLinkTask()
   192             JImageGenerator.getJLinkTask()
   193                     .output(imageFile)
   193                     .output(imageFile)
   194                     .addMods("not_zip")
   194                     .addMods("not_zip")
   195                     .modulePath(helper.defaultModulePath())
   195                     .modulePath(helper.defaultModulePath())
   196                     .call().assertFailure("Error: java.io.IOException: Invalid jmod file");
   196                     .call().assertFailure("Error: java.io.IOException: Invalid JMOD file");
   197         } finally {
   197         } finally {
   198             deleteDirectory(jmod);
   198             deleteDirectory(jmod);
   199         }
   199         }
   200     }
   200     }
   201 
   201