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

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

XMLWordPrintable

    • jar
    • b04
    • generic
    • windows

        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

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

                Created:
                Updated:
                Resolved: