[ https://issues.apache.org/jira/browse/OFBIZ-6747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616193#comment-17616193 ]
Jacques Le Roux commented on OFBIZ-6747: ---------------------------------------- By curiosity I tried that with 3.1.1: {code} --- a/build.gradle +++ b/build.gradle @@ -100,7 +100,7 @@ javadoc { // Those external Javadoc links should correspond to the actual // versions declared in the 'dependencies' block. links( - 'https://docs.oracle.com/javase/8/docs/api', + 'https://docs.oracle.com/javase/11/docs/api', 'https://tomcat.apache.org/tomcat-9.0-doc/servletapi/', 'http://docs.groovy-lang.org/docs/groovy-2.5.18/html/api', 'https://commons.apache.org/proper/commons-cli/apidocs' {code} Excluding solr-core, I thought the problem could be using a reference to Java 8 API. But I get the same error. I don't clearly understand why it says: {code} The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally {code} I don't see any other place where Java 8 is required. I must say I'm not a Gradle specialist Anyway, more as an information for us. As we said we can still use CLHM. Anyway, that's not the sole dependency we are stuck with. OFBiz is a 21 years old large project, quite mature we can say ;) > 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)