Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3316

Concurrency Issue in BeanFactoryTypeConverter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Complete
    • None
    • 2.2.7, 3.0.2, 4.0 M4
    • Core

    Description

      PropertyEditor s are not thread safe.

      INT-2889 Fixed a concurrency problem in the BeanFactoryTypeConverter when a property editor is used when there is not a converter in the conversion service (synchronized the set/get).

      However, this only applied if the source type was not String (the reported problem was with the UUID).

      In the case where the source is a string, the type converter delegates to the SimpleTypeConverter. We need to synchronize access to the delegate to prevent concurrent use of the PropertyEditor.

      Attachments

        Issue Links

          Activity

            People

              grussell Gary Russell
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: