You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2012/04/24 21:43:36 UTC

[jira] [Created] (EMAIL-116) DataSourceCompositeResolver.getDataSourceResolvers() fails to clone DataSourceResolver[]

Sebb created EMAIL-116:
--------------------------

             Summary: DataSourceCompositeResolver.getDataSourceResolvers() fails to clone DataSourceResolver[]
                 Key: EMAIL-116
                 URL: https://issues.apache.org/jira/browse/EMAIL-116
             Project: Commons Email
          Issue Type: Bug
            Reporter: Sebb


The ctor is careful to clone the provided array, but the getter method fails to clone the array, thus allowing external modification.

This is illogical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (EMAIL-116) DataSourceCompositeResolver.getDataSourceResolvers() fails to clone DataSourceResolver[]

Posted by "Thomas Neidhart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/EMAIL-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart updated EMAIL-116:
----------------------------------

    Fix Version/s: 1.3
    
> DataSourceCompositeResolver.getDataSourceResolvers() fails to clone DataSourceResolver[]
> ----------------------------------------------------------------------------------------
>
>                 Key: EMAIL-116
>                 URL: https://issues.apache.org/jira/browse/EMAIL-116
>             Project: Commons Email
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.3
>
>
> The ctor is careful to clone the provided array, but the getter method fails to clone the array, thus allowing external modification.
> This is illogical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (EMAIL-116) DataSourceCompositeResolver.getDataSourceResolvers() fails to clone DataSourceResolver[]

Posted by "Thomas Neidhart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/EMAIL-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved EMAIL-116.
-----------------------------------

    Resolution: Fixed

Fixed in r1407867.
                
> DataSourceCompositeResolver.getDataSourceResolvers() fails to clone DataSourceResolver[]
> ----------------------------------------------------------------------------------------
>
>                 Key: EMAIL-116
>                 URL: https://issues.apache.org/jira/browse/EMAIL-116
>             Project: Commons Email
>          Issue Type: Bug
>            Reporter: Sebb
>
> The ctor is careful to clone the provided array, but the getter method fails to clone the array, thus allowing external modification.
> This is illogical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira