jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OCM-45) ReflectionUtils.implementsInterface() only checks one interface and returns
Date Wed, 24 Aug 2011 07:57:29 GMT

     [ 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

        

Mime
View raw message