< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/FileCopierPlugin.java

Print this page

        

*** 56,67 **** private static final class CopiedFile { Path source; Path target; } - public static final String FAKE_MODULE = "$jlink-file-copier"; - private final List<CopiedFile> files = new ArrayList<>(); /** * Symbolic link to another path. */ --- 56,65 ----
*** 157,167 **** throws IOException { Objects.requireNonNull(pool); Objects.requireNonNull(file); Objects.requireNonNull(path); ResourcePoolEntry impl = ResourcePoolEntry.create( ! "/" + FAKE_MODULE + "/other/" + path, ResourcePoolEntry.Type.OTHER, file); try { pool.add(impl); } catch (Exception ex) { throw new IOException(ex); --- 155,165 ---- throws IOException { Objects.requireNonNull(pool); Objects.requireNonNull(file); Objects.requireNonNull(path); ResourcePoolEntry impl = ResourcePoolEntry.create( ! "/java.base/other/" + path, ResourcePoolEntry.Type.OTHER, file); try { pool.add(impl); } catch (Exception ex) { throw new IOException(ex);
< prev index next >