FeelFunctionMapper uses not thread safe SimpleDateFormat as class field

XMLWordPrintable

      The feel function mapper has a
      SimpleDateFormat instance as class field which it uses unsynchronized.

      From the SimpleDateFormat docs:

      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.

      The SimpleDateFormat for example uses a calendar field which is modified during parsing of a date.

      AT:

      • the FeelFunctionMapper uses the SimpleDateFormat in a thread safe way or a thread safe alternative

            Assignee:
            Sebastian Menski
            Reporter:
            Sebastian Menski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: