JDK-8340073 : Support "%z" time zone abbreviation format in TZ files
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-09-12
  • Updated: 2024-10-14
  • Resolved: 2024-09-16
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 23 JDK 24
23.0.2Fixed 24 b16Fixed
Related Reports
Blocks :  
Description
Recently released tzdata2024b includes:
---
      The main source files' time zone abbreviations now use %z,
      supported by zic since release 2015f and used in vanguard form
      since release 2022b.  For example, America/Sao_Paulo now contains
      the zone continuation line "-3:00 Brazil %z", which is less error
      prone than the old "-3:00 Brazil -03/-02".  This does not change
      the represented data: the generated TZif files are unchanged.
      Rearguard form still avoids %z, to support obsolescent parsers. 
---
Those "%z"s need to be replaced with the GMT format at runtime, otherwise they will appear literally.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk23u/pull/158 Date: 2024-10-14 05:09:59 +0000
14-10-2024

Fix Request for 23u Clean backport of https://git.openjdk.org/jdk/commit/418bb42b95b177f5f31f756054d0dd83740c6686
10-10-2024

Changeset: 418bb42b Branch: master Author: Naoto Sato <naoto@openjdk.org> Date: 2024-09-16 20:03:00 +0000 URL: https://git.openjdk.org/jdk/commit/418bb42b95b177f5f31f756054d0dd83740c6686
16-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20979 Date: 2024-09-12 23:03:33 +0000
12-09-2024