You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2011/08/24 09:57:29 UTC

[jira] [Resolved] (OCM-45) ReflectionUtils.implementsInterface() only checks one interface and returns

     [ https://issues.apache.org/jira/browse/OCM-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved OCM-45.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0
         Assignee: Alex Parvulescu

Thanks Will!

I've also added a tiny test based on the emails from the mailing list :)

Fixed in revision #1160997

> ReflectionUtils.implementsInterface() only checks one interface and returns
> ---------------------------------------------------------------------------
>
>                 Key: OCM-45
>                 URL: https://issues.apache.org/jira/browse/OCM-45
>             Project: Jackrabbit OCM
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Will Scheidegger
>            Assignee: Alex Parvulescu
>              Labels: patch, reflection
>             Fix For: 1.6.0
>
>         Attachments: ReflectionUtils.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> When checking the interface of the provided class the method always returns after checking the first interface. The loop which should run over all interfaces has an fixed "return" statement. The attached patch has fixed the problem for me.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira