<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>61080</bug_id>
          
          <creation_ts>2026-10-15 12:50:24 +0300</creation_ts>
          <short_desc>javazi-2026e-alt2: битый tzdb.dat ломает любую JVM (ArrayIndexOutOfBoundsException в ZoneInfoFile)</short_desc>
          <delta_ts>2026-10-15 20:56:23 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>tzdata</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ajrat Makhmutov">rauty</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>302490</commentid>
    <comment_count>0</comment_count>
    <who name="Ajrat Makhmutov">rauty</who>
    <bug_when>2026-10-15 12:50:24 +0300</bug_when>
    <thetext>После задания 436973 (tzdata/javazi 2026e-alt2) любая Java-программа падает при первом обращении к TimeZone, поэтому все сборки на Gradle/Ant/Maven в Sisyphus падают с &quot;Could not initialize class sun.util.calendar.ZoneInfoFile&quot;.

Воспроизведение (java-17-openjdk-17.0.20.1.1-alt1, javazi-2026e-alt2):

    echo &apos;class T{public static void main(String[] a){System.out.println(java.util.TimeZone.getDefault());}}&apos; &gt; T.java
    java T.java
    java.lang.Error: java.lang.ArrayIndexOutOfBoundsException: Index -496 out of bounds for length 604
        at java.base/sun.util.calendar.ZoneInfoFile.load(ZoneInfoFile.java:340)

В /usr/share/javazi-1.8/tzdb.dat 604 региона и 250 алиасов; у трёх алиасов отрицательный индекс региона (-496, -389, -516), их цели — Pacific/Honolulu, America/Panama и America/Phoenix. Вероятно, это ссылки HST/EST/MST, введённые в tzdata 2024b. С javazi-2024a-alt1 всё работает.

Примеры FTBFS:
- mnemonicsetter-0.6-alt2
- javahelp2-2.0.05-alt7: http://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2026/1015/error/javahelp2-0:2.0.05-alt7
- SimplyHTML-0.19.2-alt2: http://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2026/1015/error/SimplyHTML-0.19.2-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302510</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-10-15 15:49:26 +0300</bug_when>
    <thetext>Спасибо</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>302562</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-10-15 20:56:23 +0300</bug_when>
    <thetext>javazi-2026e-alt2.2 -&gt; sisyphus:

Thu Oct 15 2026 Anton Farygin &lt;rider@altlinux&gt; 2026e-alt2.2
- Rebuild with the latest tzdata.
Thu Oct 15 2026 Anton Farygin &lt;rider@altlinux&gt; 2026e-alt2
- javazic-1.8: dropped EST/HST/MST alias entries (they are links since
  tzdata 2024b) (Closes: #61080)
- backported fixes from Fedora: JDK-8340552, JDK-8051641
- added %check smoke test for the built tzdb.dat
Wed Aug 10 2022 Dmitry V. Levin &lt;ldv@altlinux&gt; 2024a-alt1
- Rebuilt with the latest tzdata.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>