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/04 16:19:50 UTC
[jira] Updated: (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 updated OFBIZ-1296:
------------------------------
Attachment: framework-entity-EntityCache-CacheLine-hasExpired.patch
> 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
> 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.