git: openjdk/jdk8u-dev: 8194154: System property user.dir should not be changed
Fei Yang
fyang at openjdk.java.net
Mon Mar 21 06:17:26 UTC 2022
Changeset: 5fcfb7ac
Author: Dongbo He <dongbohe at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
Date: 2022-03-21 06:14:50 +0000
URL: https://git.openjdk.java.net/jdk8u-dev/commit/5fcfb7acbe340c8347bd47413a36dd0b1e267dc1
8194154: System property user.dir should not be changed
Cached user.dir so getCanonicalPath uses the cached value.
Reviewed-by: sgehwolf
Backport-of: 4ea684bf31fc4e3cdee2ae51c0000a7b3e914151
! jdk/src/solaris/classes/java/io/UnixFileSystem.java
! jdk/src/windows/classes/java/io/WinNTFileSystem.java
+ jdk/test/java/io/File/UserDirChangedTest.java
More information about the jdk8u-dev-changes
mailing list