-
Enhancement
-
Resolution: Fixed
-
P3
-
11
-
b04
-
generic
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8234765 | 11.0.7-oracle | Kiran Sidhartha Ravikumar | P3 | Resolved | Fixed | b01 |
JDK-8214010 | 11.0.3 | Matthias Baesken | P3 | Resolved | Fixed | master |
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
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
- backported by
-
JDK-8214010 jar should support UNC-path arguments for the jar -C parameter
-
- Resolved
-
-
JDK-8234765 jar should support UNC-path arguments for the jar -C parameter
-
- Resolved
-