Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4436

[regression] Singleton components can get instantianted multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-alpha-3
    • 3.0-alpha-4
    • None
    • None

    Description

      As Igor discovered, the changes made for MNG-4429 caused a regression regarding lookup of singleton components. In detail, a scenario like

      /** @component */
      private Component singleton1;
      
      /** @component roleHint="default" */
      private Component singleton2;
      

      will get two different instances of the same singleton component.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: