modules/jdk.packager/src/main/java/com/oracle/tools/packager/IOUtils.java

Print this page

        

*** 29,38 **** --- 29,42 ---- import java.io.*; import java.net.URL; import java.nio.channels.FileChannel; import java.util.Arrays; + /** + * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead. + */ + @Deprecated(since="10", forRemoval=true) public class IOUtils { public static boolean deleteRecursive(File path) throws FileNotFoundException { boolean ret = true; if (!path.exists()) { //nothing to do