JDK-8166983 : Remove old/legacy unused tzdata files
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.time
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-09-30
  • Updated: 2025-01-15
  • Resolved: 2025-01-08
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 25
25 b05Fixed
Related Reports
Relates :  
Relates :  
Description
openjdk includes solar87, solar88, solar89 files which were removed from tzdata years ago, and never really used.

"""
    The files solar87, solar88, and solar89 are no longer distributed.
    They were a negative experiment - that is, a demonstration that
    tz data can represent solar time only with some difficulty and error.
    Their presence in the distribution caused confusion, as Riyadh
    civil time was generally not solar time in those years.
"""

zone.tab is included instead of zone1970.tab even though the latter is surprisingly the newer version!

If you delete these files, everything seems to still just work!

R make/data/tzdata/solar87
R make/data/tzdata/solar88
R make/data/tzdata/solar89
R make/data/tzdata/zone.tab
R test/sun/util/calendar/zi/tzdata/solar87
R test/sun/util/calendar/zi/tzdata/solar88
R test/sun/util/calendar/zi/tzdata/solar89
R test/sun/util/calendar/zi/tzdata/zone.tab

BTW, why are there two different test versions of jdk11_backward?
./test/sun/util/calendar/zi/tzdata_jdk/jdk11_backward
./test/sun/util/calendar/zi/tzdata/jdk11_backward

Comments
Changeset: 49ee4df3 Branch: master Author: Naoto Sato <naoto@openjdk.org> Date: 2025-01-08 16:48:44 +0000 URL: https://git.openjdk.org/jdk/commit/49ee4df375f57ef2d06ff7d54aaefed77d60c40b
08-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22955 Date: 2025-01-07 18:27:31 +0000
07-01-2025

Long overdue cleanup. Also try to remove test/sun/util/calendar/zi, as maintaining javazic just to pass `TestZoneInfo310.java` is becoming increasingly burdensome since tzdata supported negative DST/duration over 24H. JDK-8339644 is the latest example that needed fix in javazic.
06-01-2025

[~rpatil] Yes. The whole test package should be removed because javazic there is no longer used for the products.
03-10-2016

Hi Masayoshi [~okutsu], I am little confused about you asking to remove "test/sun/util/calendar/zi". Do you mean the whole test package "zi" should be removed? Where lies only one important test- TestZoneInfo310.java
03-10-2016

In addition, I'd suggest test/sun/util/calendar/zi be removed.
03-10-2016

http://cr.openjdk.java.net/~martin/webrevs/openjdk9/tzdata-cull/
30-09-2016