Uploaded image for project: 'Tupelo'
  1. Tupelo
  2. TUP-291

ISO8601 utility is not threadsafe

XMLWordPrintableJSON

      Issue is that Java's SimpleDateFormat is not threadsafe. Javadoc says

      "Date formats are not synchronized. It is recommended to create separate format instances for each thread. If multiple threads access a format concurrently, it must be synchronized externally. "

      behavior seen is that in multiple fetches requiring date formatting a "NumberFormatException: multiple points" occurs.

              jgaynor Jeffrey Gaynor
              jgaynor Jeffrey Gaynor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: