[
https://issues.apache.org/jira/browse/OFBIZ-6747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616196#comment-17616196
]
Jacques Le Roux commented on OFBIZ-6747:
----------------------------------------
Thanks for targetCompatibility info. As I said I'm far from a Gradle
specialist :/
So 3.1.1 compiles when using
sourceCompatibility = '11'
targetCompatibility = '11'
Not even a problem with solr-core.
We are already running all our branches with Java 11. Remains solr-core but
that's another issue (with also our LDAP plugin that says:
bq. pluginLibsCompile 'org.apereo.cas:cas-server-support-ldap-core:5.0.10' //
6.4.0 declares an API of a component compatible with Java 11 and the consumer
needed a runtime of a component compatible with Java 8)
> 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)