jlink fails if output directory is not empty

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: 9-repo-jigsaw
    • Component/s: core-libs
    • None
    • Environment:

      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

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

              Created:
              Updated:
              Resolved: