< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/builder/ImageBuilder.java

Print this page

        

*** 24,33 **** --- 24,34 ---- */ package jdk.tools.jlink.builder; import java.io.DataOutputStream; import java.util.Properties; + import java.util.Set; import jdk.tools.jlink.internal.ExecutableImage; import jdk.tools.jlink.plugin.PluginException; import jdk.tools.jlink.plugin.ResourcePool;
*** 39,65 **** public interface ImageBuilder { /** * Store the external files. * * @param content Pool of module content. - * @param release the release properties * @throws PluginException */ ! public default void storeFiles(ResourcePool content, Properties release) { ! storeFiles(content); ! } ! ! /** ! * Store the external files. ! * ! * @param content Pool of module content. ! * @throws PluginException ! */ ! public default void storeFiles(ResourcePool content) { ! throw new UnsupportedOperationException("storeFiles"); ! } /** * The OutputStream to store the jimage file. * * @return The output stream --- 40,54 ---- public interface ImageBuilder { /** * Store the external files. * + * @param rootModules root modules for the image generated * @param content Pool of module content. * @throws PluginException */ ! public void storeFiles(Set<String> rootModules, ResourcePool content); /** * The OutputStream to store the jimage file. * * @return The output stream
< prev index next >