Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-1155

Stringable Date test in TestReflect fails if timezone doesn't match locale's default

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.2
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The problem is that java.util.Date's string contructor cannot reliably parse its toString() representation in some combinations of timezone and locale.

      This started happening after AVRO-1146.

        Attachments

        1. AVRO-1155.patch
          1 kB
          Tom White
        2. AVRO-1155.patch
          2 kB
          Tom White

          Activity

            People

            • Assignee:
              tomwhite Tom White
              Reporter:
              tomwhite Tom White
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: