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

Late binding of Chronology to appendValueReduced

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • core-libs
    • 8
    • b115

      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.

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

              Created:
              Updated:
              Resolved: