test/langtools/tools/javac/modules/PatchModulesTest.java
changeset 51615 afbb33428df7
parent 49822 53aae0c219e6
child 53982 05d35241e1e9
equal deleted inserted replaced
51614:36773a4fe3e7 51615:afbb33428df7
    96     }
    96     }
    97 
    97 
    98     @Test
    98     @Test
    99     public void testDuplicates(Path base) throws Exception {
    99     public void testDuplicates(Path base) throws Exception {
   100         test(asList("java.base=a", "java.compiler=b", "java.base=c"),
   100         test(asList("java.base=a", "java.compiler=b", "java.base=c"),
   101             false, "error: --patch-module specified more than once for java.base");
   101             false, "error: --patch-module specified more than once for module java.base");
   102     }
   102     }
   103 
   103 
   104     @Test
   104     @Test
   105     public void testEmpty(Path base) throws Exception {
   105     public void testEmpty(Path base) throws Exception {
   106         test(asList(""),
   106         test(asList(""),