[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Closed] (OGNL-257) OgnlRuntime.clearCache() Doesn't Clear All Caches
From:       "Lukasz Lenart (Jira)" <jira () apache ! org>
Date:       2021-12-31 16:51:00
Message-ID: JIRA.13047485.1488406393000.84658.1640969460019 () Atlassian ! JIRA
[Download RAW message or body]


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

Lukasz Lenart closed OGNL-257.
------------------------------
    Resolution: Fixed

> OgnlRuntime.clearCache() Doesn't Clear All Caches
> -------------------------------------------------
> 
> Key: OGNL-257
> URL: https://issues.apache.org/jira/browse/OGNL-257
> Project: Commons OGNL
> Issue Type: Bug
> Components: Core Runtime
> Affects Versions: 3.0.13
> Reporter: Chris Hannah
> Priority: Major
> 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
(v8.20.1#820001)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic