commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <>
Subject [jira] [Commented] (OGNL-257) OgnlRuntime.clearCache() Doesn't Clear All Caches
Date Thu, 02 Mar 2017 05:38:45 GMT


Lukasz Lenart commented on OGNL-257:

Did you try to use other versions of OGNL? I think this issue was already resolved.

> OgnlRuntime.clearCache() Doesn't Clear All Caches
> -------------------------------------------------
>                 Key: OGNL-257
>                 URL:
>             Project: Commons OGNL
>          Issue Type: Bug
>          Components: Core Runtime
>    Affects Versions: 3.0.13
>            Reporter: Chris Hannah
>             Fix For: 3.0.13
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> The OgnlRuntime.clearCache() method does not empty the cacheSetMethod and cacheGetMethod
caches. The inability  to clear this cache is leading to the following error:
> java.lang.IllegalArgumentException: object is not an instance of declaring class
> It appears that the issue occurs when classes are reloaded by a different classloader.
If we had the ability to clear the caches mentioned above we believe it would fix our issue.
> In our case we are using Spring Boot Dev Tools. When the application restarts and classes
are reloaded we have no way to clear the caches mentioned above.

This message was sent by Atlassian JIRA

View raw message