ConcurrentLruCache
no longer supports capacity = 0
#31317
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: regression
A bug that is also a regression
Milestone
ConcurrentLruCache no longer allows for capacity = 0 (previously sizeLimit) breaking backward compatibility. Moreover, according to the javadoc above public constructor, it should be possible to use capacity = 0. Please either change the javadoc or revert behaviour.
spring-framework/spring-core/src/main/java/org/springframework/util/ConcurrentLruCache.java
Line 84 in af0b39a
The text was updated successfully, but these errors were encountered: