JDK-8213629 : Release Note: Initial Value of user.timezone System Property Changed
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 12
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2018-11-09
  • Updated: 2019-04-05
  • Resolved: 2018-11-09
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 12
12Resolved
Description
The initial value of the ```user.timezone``` system property is undefined unless set using a command line argument, for example, ```-Duser.timezone="America/New_York"```.  The first time the default timezone is needed, if `user.timezone` is undefined or empty the timezone provided by the operating system is used. Previously, the initial value was the empty string.   In JDK 12, `System.getProperty("user.timezone")` may return null.