JDK-8275343 : Release Note: file.encoding System Property Has an Incorrect Value on Windows
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 17.0.2,18
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2021-10-15
  • Updated: 2022-06-17
  • Resolved: 2022-03-24
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.2Resolved 18Resolved
Description
The initialization of the `file.encoding` system property on non macOS platforms has been reverted to align with the behavior on or before JDK 11.  This has been an issue especially on Windows where the system and user's locales are not the same.