Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274864

Remove Amman/Cairo hacks in ZoneInfoFile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      generic
    • OS:
      generic

      Description

      There's a piece of hacks in sun/util/calendar/ZoneInfoFile.java, to tweak endOfDay rules for Asia/Amman and Africa/Cairo. These hacks are no longer needed as secondOfDay holds correct values, even beyond the end of day. It is a leftover of JDK-8212970.
      In fact, the hacks would be problematic, say if Jordan had a DST starting rule at "lastFri & startTime= 0:00", it would be incorrectly translated into "lastThu & startTime=24:00"

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naoto Naoto Sato
              Reporter:
              naoto Naoto Sato
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: