Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-699

In Avatica, synchronize access to Calendar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0-incubating
    • avatica
    • None

    Description

      The Calendar class is not thread-safe. Some JDBC methods accept Calendar objects from the client. We must synchronize on this Calendar in case the client is using the Calendar elsewhere.

      Avatica also creates Calendar objects internally. Access to those calendars does not need to be synchronized, but they are often passed into methods that accept client Calendars, and will get synchronized anyway.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: