Spring Integration
  1. Spring Integration
  2. INT-2922

Concurrent Calls to SimpleTypeConverter.getDefaultEditor() in BeanFactoryTypeConverter are Not Safe

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: 2.1.5, 2.2.1
    • Fix Version/s: 3.0 M1, 2.1.6, 2.2.2
    • Component/s: None
    • Labels:

      Description

      SimpleTypeConverter.getDefaultEditor() is not thread-safe until the defaultEditors field is fully baked (https://jira.springsource.org/browse/SPR-10191).

      Need to synchronize the call to getDefaultEditor.

        Issue Links

          Activity

          Show
          Gary Russell added a comment - PR: https://github.com/SpringSource/spring-integration/pull/739
          Hide
          Gary Russell added a comment -

          cherry-picked to 2.2.x

          Show
          Gary Russell added a comment - cherry-picked to 2.2.x
          Hide
          Gary Russell added a comment - - edited

          Reopening to cherry pick to 2.1.x - avoid conflict with cherry pick of INT-2955

          Show
          Gary Russell added a comment - - edited Reopening to cherry pick to 2.1.x - avoid conflict with cherry pick of INT-2955

            People

            • Assignee:
              Gary Russell
              Reporter:
              Gary Russell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: