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

jar should support UNC-path arguments for the jar -C parameter

    Details

    • Subcomponent:
      jar
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      windows

      Backports

        Description

        Currently the jar -C parameter fails on Windows with UNC paths.
        For example with jdk10 :


        c:\testdir>c:\tools\jdk10\bin\jar.exe test.jar -C \\MYMACHINE\subdir README.txt
        Illegal option: s
        Try `jar --help' for more information.


        ... while the directory (and README.txt in it) is present :


        c:\testdir>dir \\MYMACHINE\subdir
        .......
         Directory of \\MYMACHINE\subdir

        17.07.2018 12:25 <DIR> .
        17.07.2018 12:25 <DIR> ..
        17.07.2018 12:25 0 README.txt

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbaesken Matthias Baesken
                  Reporter:
                  mbaesken Matthias Baesken
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: