Skip to content
Permalink
Browse files
8271737: Only normalize the cached user.dir property once
Reviewed-by: phh
  • Loading branch information
eastig authored and Paul Hohensee committed Oct 12, 2021
1 parent 89999f7 commit b8bd259bb83096f8727222a4e5cd84e80e096275
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java.base/windows/classes/java/io/WinNTFileSystem.java
@@ -356,7 +356,7 @@ private String getUserPath() {
if (sm != null) {
sm.checkPropertyAccess("user.dir");
}
return normalize(userDir);
return userDir;
}

private String getDrive(String path) {

1 comment on commit b8bd259

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on b8bd259 Oct 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.