mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue