On Mon, 13 Mar 2023 15:30:59 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> no need for security manager checks in jlink > > src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java line 889: > >> 887: // the "java.base" module file used to create the image >> 888: return Files.isSameFile(javaBasePath, >> 889: >> currentPlatformJmods.resolve(Path.of("java.base.jmod"))); > > You can reduce this to resolve("java.base.jmod"). Done ------------- PR: https://git.openjdk.org/jdk/pull/11943