On Mon, 11 Dec 2023 09:56:49 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:
> > Blowing away the generated image and retrying with --verbose tripped this > > assert > > ``` > > java.lang.AssertionError: handling of scratch options failed > > at > > jdk.jlink/jdk.tools.jlink.internal.JlinkTask.logPackagedModuleEquivalent(JlinkTask.java:675) > > at > > jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImageProvider(JlinkTask.java:581) > > at > > jdk.jlink/jdk.tools.jlink.internal.JlinkTask.createImage(JlinkTask.java:430) > > at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:302) > > at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:56) > > at jdk.jlink/jdk.tools.jlink.internal.Main.main(Main.java:34) > > Caused by: jdk.tools.jlink.internal.TaskHelper$BadArgs: > > (...my-original-jdk-directory..)/build/linux-x64/images/jdk/jmods already > > exists > > at > > jdk.jlink/jdk.tools.jlink.internal.TaskHelper.newBadArgs(TaskHelper.java:730) > > at > > jdk.jlink/jdk.tools.jlink.internal.JlinkTask.lambda$static$12(JlinkTask.java:183) > > at > > jdk.jlink/jdk.tools.jlink.internal.TaskHelper$Option.process(TaskHelper.java:177) > > at > > jdk.jlink/jdk.tools.jlink.internal.TaskHelper$OptionsHelper.handleOptions(TaskHelper.java:600) > > at > > jdk.jlink/jdk.tools.jlink.internal.JlinkTask.logPackagedModuleEquivalent(JlinkTask.java:672) > > ... 5 more > > ``` > > Could you please provide steps to reproduce this? NVM. Reproduced it. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14787#issuecomment-1850253784