You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2007/10/17 21:56:50 UTC

[jira] Closed: (OFBIZ-1296) EntityCache tries to use a protected method of UtilCache wrongly

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

Adam Heath closed OFBIZ-1296.
-----------------------------

    Resolution: Fixed

Fixed by revision 585650.

> EntityCache tries to use a protected method of UtilCache wrongly
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-1296
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1296
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>             Fix For: SVN trunk
>
>         Attachments: framework-entity-EntityCache-CacheLine-hasExpired.patch
>
>
> EntityCache fetches all CacheLines, then tries to pass that to hasExpired.  However, the method that takes a CacheLine parameter is protected, so the compiler uses the other one, that just takes an Object.  While this compiles, it does not function correctly.
> The attached patch makes it use the hasExpired() on CacheLine, introduced by OFBIZ-1295.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.