[ https://issues.apache.org/jira/browse/WW-5355?focusedWorklogId=885222&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-885222 ]
ASF GitHub Bot logged work on WW-5355: -------------------------------------- Author: ASF GitHub Bot Created on: 15/Oct/23 13:43 Start Date: 15/Oct/23 13:43 Worklog Time Spent: 10m Work Description: kusalk commented on code in PR #766: URL: https://github.com/apache/struts/pull/766#discussion_r1359881125 ########## core/src/main/java/com/opensymphony/xwork2/ognl/OgnlLRUCache.java: ########## @@ -81,7 +81,9 @@ public int getEvictionLimit() { @Override public void setEvictionLimit(int cacheEvictionLimit) { + if (cacheEvictionLimit < size()) { Review Comment: Fixed this bug Issue Time Tracking ------------------- Worklog Id: (was: 885222) Time Spent: 3.5h (was: 3h 20m) > Use LRU cache by default > ------------------------ > > Key: WW-5355 > URL: https://issues.apache.org/jira/browse/WW-5355 > Project: Struts 2 > Issue Type: Improvement > Components: Core > Reporter: Kusal Kithul-Godage > Priority: Minor > Fix For: 6.4.0 > > Time Spent: 3.5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.20.10#820010)