[
https://issues.apache.org/jira/browse/OFBIZ-6747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616188#comment-17616188
]
Jacques Le Roux commented on OFBIZ-6747:
----------------------------------------
Hi Ben,
I'm still not sure to understand the reason we need 2.9.3. We run under Java
11, but the build requires Java 8, right? Something I don't understand is the
1st block of error
{quote}
> Could not resolve com.github.ben-manes.caffeine:caffeine:3.1.1.
Required by:
project :
> No matching variant of com.github.ben-manes.caffeine:caffeine:3.1.1 was
found.
{quote}
"project" is empty. I guess it means the whole project (ie ofbiz), right?
Also we are somehow stuck with solr-core 8 (OFBIZ-10633).
{quote}
So it works but I'm unsure of the situation. So I suggest for now to continue
to use the 8 branch.
{quote}
Fortunately, as you said, we can live with CLHM for now, no hurry :)
> Replace ConcurrentLinkedHashMap by Caffeine
> -------------------------------------------
>
> Key: OFBIZ-6747
> URL: https://issues.apache.org/jira/browse/OFBIZ-6747
> Project: OFBiz
> Issue Type: Task
> Components: ALL COMPONENTS
> Reporter: Ben Manes
> Assignee: Jacques Le Roux
> Priority: Minor
>
> Similar to OFBIZ-3779, please consider upgrading the library used by
> [UtilCache|https://github.com/apache/ofbiz/blob/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/cache/UtilCache.java]
> (v1.2). The current version is 1.4.2 and is the last major release planned.
> The preferable alternative would be to upgrade to
> [Caffeine|https://github.com/ben-manes/caffeine]. This is a Java 8 rewrite
> based on what I've learned since developing CLHM and Guava's cache. As
> expected it provides [superior
> performance|https://github.com/ben-manes/caffeine/wiki/Benchmarks]. It also
> provides a [near
> optimal|https://github.com/ben-manes/caffeine/wiki/Efficiency] eviction
> policy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)