maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-4436) [regression] Singleton components can get instantianted multiple times
Date Wed, 11 Nov 2009 11:03:55 GMT
[regression] Singleton components can get instantianted multiple times
----------------------------------------------------------------------

                 Key: MNG-4436
                 URL: http://jira.codehaus.org/browse/MNG-4436
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 3.0-alpha-3
            Reporter: Benjamin Bentmann


As Igor discovered, the changes made for MNG-4429 caused a regression regarding lookup of
singleton components. In detail, a scenario like
{code:java}
/** @component */
private Component singleton1;

/** @component roleHint="default" */
private Component singleton2;
{code}
will get two different instances of the same singleton component.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message