8198997: Cache normalized/resolved user.dir property
Normalize cached user.dir property value in constructor (windows only) Reviewed-by: alanb
This commit is contained in:
parent
01509e5b5e
commit
917c015610
@ -50,7 +50,7 @@ class WinNTFileSystem extends FileSystem {
|
||||
slash = props.getProperty("file.separator").charAt(0);
|
||||
semicolon = props.getProperty("path.separator").charAt(0);
|
||||
altSlash = (this.slash == '\\') ? '/' : '\\';
|
||||
userDir = props.getProperty("user.dir");
|
||||
userDir = normalize(props.getProperty("user.dir"));
|
||||
}
|
||||
|
||||
private boolean isSlash(char c) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user