JDK-8233020 : (fs) UnixFileSystemProvider should use StaticProperty.userDir().
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-10-25
  • Updated: 2021-11-23
  • Resolved: 2021-07-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17.0.2Fixed 18 b05Fixed
Related Reports
Relates :  
Description
The static userDir property should be used instead of the current settable user.dir property.
Comments
Fix request (17u) Clean backport of a minor fix to UnixFileSystemProvider.
16-11-2021

Changeset: fd4de1ed Author: Jaikiran Pai <jpai@openjdk.org> Date: 2021-07-05 13:54:30 +0000 URL: https://git.openjdk.java.net/jdk/commit/fd4de1ed404640ee0e744f022bbfa89db200ef05
05-07-2021

The changes in JDK-8066709 were okay to leave out the Unix file system provider because it was initialized very early in the startup at the time. No harm in re-visiting this now.
25-10-2019