Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-60063

tzdata-java breaks with tzdata-2024b update

    • Yes
    • Critical
    • 2
    • rhel-sst-pt-libraries
    • ssg_platform_tools
    • 6
    • 11
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • CentOS Stream
    • SST PT Libraries Sprint 11, SST PT Libraries Sprint 12
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

      What were you trying to do that didn't work?

       

      Trying to build epel9 java packages.

      What is the impact of this issue to you?

       

      Build fails.

      Please provide the package NVR for which the bug is seen:

       

      tzdata-2024b-1.el9

      How reproducible is this bug?:

      Always.

      Steps to reproduce

      1. try to mockbuild for example imagej-1.54k-4.el9 from epel9
      2. build fails.
      3. downgrade to 2024a-2.el9 tzdata+tzdata-java and build succeeds

      Expected results

       

      No java regression.

      Actual results

       

      + ant build
      Buildfile: /builddir/build/BUILD/imagej-1.54k/source/build.xml
      Caught an exception while logging the end of the build.  Exception was:
      java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile
              at java.base/sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:588)
              at java.base/java.util.TimeZone.getTimeZone(TimeZone.java:577)
              at java.base/java.util.TimeZone.setDefaultZone(TimeZone.java:682)
              at java.base/java.util.TimeZone.getDefaultRef(TimeZone.java:653)
              at java.base/java.util.TimeZone.getDefault(TimeZone.java:642)
              at java.base/java.util.Calendar.defaultTimeZone(Calendar.java:1679)
              at java.base/java.util.Calendar.getInstance(Calendar.java:1660)
              at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:676)
              at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:620)
              at org.apache.tools.ant.util.DateUtils.<clinit>(DateUtils.java:72)
              at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:304)
              at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:175)
              at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2111)
              at org.apache.tools.ant.Main.runBuild(Main.java:845)
              at org.apache.tools.ant.Main.startAnt(Main.java:223)
              at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
              at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
      There has been an error prior to that:
      java.lang.Error: java.lang.ArrayIndexOutOfBoundsException: Index -495 out of bounds for length 603
              at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:261)
              at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:251)
              at java.base/java.security.AccessController.doPrivileged(Native Method)
              at java.base/sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:251)
              at java.base/sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:588)
              at java.base/java.util.TimeZone.getTimeZone(TimeZone.java:577)
              at java.base/java.util.TimeZone.setDefaultZone(TimeZone.java:682)
              at java.base/java.util.TimeZone.getDefaultRef(TimeZone.java:653)
              at java.base/java.util.TimeZone.getDefault(TimeZone.java:642)
              at java.base/java.util.Calendar.defaultTimeZone(Calendar.java:1679)
              at java.base/java.util.Calendar.getInstance(Calendar.java:1629)
              at org.apache.tools.zip.ZipUtil.dosToJavaTime(ZipUtil.java:128)
              at org.apache.tools.zip.ZipFile.readCentralDirectoryEntry(ZipFile.java:513)
              at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:472)
              at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:217)
              at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:178)
              at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:258)
              at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:134)
              at org.apache.tools.ant.helper.ProjectHelper2.parseAntlibDescriptor(ProjectHelper2.java:114)
              at org.apache.tools.ant.taskdefs.Antlib.createAntlib(Antlib.java:95)
              at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:416)
              at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:275)
              at org.apache.tools.ant.ComponentHelper.checkNamespace(ComponentHelper.java:853)
              at org.apache.tools.ant.ComponentHelper.getDefinition(ComponentHelper.java:308)
              at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:285)
              at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264)
              at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:427)
              at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:165)
              at org.apache.tools.ant.Task.perform(Task.java:349)
              at org.apache.tools.ant.Target.execute(Target.java:449)
              at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
              at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:104)
              at org.apache.tools.ant.Main.runBuild(Main.java:802)
              at org.apache.tools.ant.Main.startAnt(Main.java:223)
              at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
              at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -495 out of bounds for length 603
              at java.base/sun.util.calendar.ZoneInfoFile.load(ZoneInfoFile.java:339)
              at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:258)
      

       

              rhn-support-mkolar Michal Kolar
              bleve Tuomo Soini
              Patsy Griffin Patsy Griffin
              Michal Kolar Michal Kolar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: