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

Late binding of Chronology to appendValueReduced

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b115

      Description

      Parsing using appendValueReduced relies on the effective chronology to convert the value.
      But if the formatter consists of something like

      appendReduced(...).appendChronology(...)

      then the chronology won't be correct when the reduced calculation is
      performed (as it is parsed after the reduced field).

      What is needed is a new bit of code at the end of the parsing phase
      which tidies up incomplete reduced fields. There are a variety of
      possible designs and it is all internal.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rriggs Roger Riggs
                Reporter:
                rriggs Roger Riggs
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: