You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2011/05/30 12:04:47 UTC

[jira] [Resolved] (FELIX-2976) InvocationUtil cache is not used properly for determining that methods do not exist in a class

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

Marcel Offermans resolved FELIX-2976.
-------------------------------------

    Resolution: Fixed

> InvocationUtil cache is not used properly for determining that methods do not exist in a class
> ----------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2976
>                 URL: https://issues.apache.org/jira/browse/FELIX-2976
>             Project: Felix
>          Issue Type: Bug
>          Components: Dependency Manager
>    Affects Versions: dependencymanager-3.0.0
>            Reporter: Marcel Offermans
>            Assignee: Marcel Offermans
>
> There is a bug in the InvocationUtil cache that prevents it from properly remembering that certain methods did not exist in a class. InvocationUtil.getDeclaredMethod(...) checks the cache and only returns something when the cache does not return null. But, null is actually a valid result, so we need to add a check to see if they key was in the map but with a null value.

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