Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2682

Sequence constructor is not thread safe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.2
    • Fix Version/s: 2.10.3
    • Component/s: Datamodel
    • Labels:
      None

      Description

      Uncovered while investigating JAL-2680:
      Static field Regex limitrx of Sequence is not thread-safe.
      It is used in Sequence constructor --> initSeqAndName() --> parseId().
      Concurrent threads can overwrite the id string wrapped by the Regex.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gmungoc Mungo Carstairs
              Reporter:
              gmungoc Mungo Carstairs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: