Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139296

jlink fails if output directory is not empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • 9-repo-jigsaw
    • core-libs
    • None
    • OSX Yosemite

      jlink checks if the output directory is empty. It should not do this.

      1. mkdir foo

      2. "foo" directory from finder on MacOSX that creates .DSStore in the foo directory

      2. jlink --modulepath ~/source/pull/jake/build/macosx-x86_64-normal-server-fastdebug/images/jmods --output foo --limitmods java.base

      3. I get the error:

      mitmods java.base
      Error: not empty: foo
      Usage: jlink <options> --modulepath <modulepath> --output <path>
      use --help for a list of possible options

            jfdenise Jean-Francois Denise (Inactive)
            cbensen Chris Bensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: