Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16577

SimpleAliasRegistry registerAlias not atomic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.14, 5.0.4
    • Fix Version/s: 4.3.15, 5.0.5
    • Component/s: Core:DI
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      org.springframework.core.SimpleAliasRegistry class registerAlias method get - compute - put is not atomic.
      It should be synchronized with this.aliasMap or java.util.concurrent.ConcurrentMap interface compute method should be used.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              MagyarL László Magyar
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 37 weeks, 6 days ago