Wrong behavior of LocalDateTimeStringConverter

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx17
    • Affects Version/s: jfx15
    • Component/s: javafx
    • None

      The class uses an internal LdtConverter helper class that instantiates all its fields, but they are not final. In its toString method, the chronology field is reassigned if the formatting fails on that specific value. Then, if another value is passed in, the new chronology field value is used, which could give different results from having it been passed in first.
      Note that this internal class is used by LocalDate and LocalTime converters as well.

            Assignee:
            Nir Lisker
            Reporter:
            Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: