Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Don't canonicalize archive paths
Browse files Browse the repository at this point in the history
This un-does a change made by the backport of JDK-8150641 that breaks
assumptions made by Strict Deps.
  • Loading branch information
cushon committed Jan 4, 2018
1 parent d1b9c15 commit 9901a45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,10 @@ synchronized Container getContainer(Path path) throws IOException {

if (attr != null) {
if (attr.isDirectory()) {
fs = new DirectoryContainer(realPath);
fs = new DirectoryContainer(path);
} else {
try {
fs = new ArchiveContainer(realPath);
fs = new ArchiveContainer(path);
} catch (ProviderNotFoundException | SecurityException ex) {
throw new IOException(ex);
}
Expand Down

0 comments on commit 9901a45

Please sign in to comment.