< prev index next >

test/tools/jlink/IntegrationTest.java

Print this page

        

@@ -239,11 +239,11 @@
         // Post processor
         {
             lst.add(new MyPostProcessor());
         }
         // Image builder
-        DefaultImageBuilder builder = new DefaultImageBuilder(true, output);
+        DefaultImageBuilder builder = new DefaultImageBuilder(output);
         PluginsConfiguration plugins
                 = new Jlink.PluginsConfiguration(lst, builder, null);
 
         jlink.build(config, plugins);
 

@@ -252,14 +252,10 @@
         }
         File jimage = new File(output.toString(), "lib" + File.separator + "modules");
         if (!jimage.exists()) {
             throw new AssertionError("jimage not generated");
         }
-        File bom = new File(output.toString(), "bom");
-        if (!bom.exists()) {
-            throw new AssertionError("bom not generated");
-        }
         File release = new File(output.toString(), "release");
         if (!release.exists()) {
             throw new AssertionError("release not generated");
         }
 

@@ -309,11 +305,11 @@
             before.add(MyPlugin1.NAME+"2");
             lst.add(new MyPlugin1(1, Collections.emptySet(), before));
         }
 
         // Image builder
-        DefaultImageBuilder builder = new DefaultImageBuilder(false, output);
+        DefaultImageBuilder builder = new DefaultImageBuilder(output);
         PluginsConfiguration plugins
                 = new Jlink.PluginsConfiguration(lst, builder, null);
 
         jlink.build(config, plugins);
 

@@ -357,11 +353,11 @@
             before.add(MyPlugin1.NAME+"1");
             lst.add(new MyPlugin1(2, Collections.emptySet(), before));
         }
 
         // Image builder
-        DefaultImageBuilder builder = new DefaultImageBuilder(false, output);
+        DefaultImageBuilder builder = new DefaultImageBuilder(output);
         PluginsConfiguration plugins
                 = new Jlink.PluginsConfiguration(lst, builder, null);
         boolean failed = false;
         try {
             jlink.build(config, plugins);
< prev index next >