8271737: Only normalize the cached user.dir property once

Reviewed-by: phh
This commit is contained in:
Evgeny Astigeevich 2021-10-12 16:56:06 +00:00 committed by Paul Hohensee
parent 89999f70e0
commit b8bd259bb8

@ -356,7 +356,7 @@ class WinNTFileSystem extends FileSystem {
if (sm != null) {
sm.checkPropertyAccess("user.dir");
}
return normalize(userDir);
return userDir;
}
private String getDrive(String path) {