You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2022/10/13 06:45:36 UTC
[ofbiz-plugins] branch trunk updated: Improved: Replace ConcurrentLinkedHashMap by Caffeine (OFBIZ-6747)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new bc38d2db1 Improved: Replace ConcurrentLinkedHashMap by Caffeine (OFBIZ-6747)
bc38d2db1 is described below
commit bc38d2db178d139605cb039b1de904489c8dae0e
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Thu Oct 13 08:46:23 2022 +0200
Improved: Replace ConcurrentLinkedHashMap by Caffeine (OFBIZ-6747)
This is a Java 8 rewrite based on changes in CLHM and Guava's cache. As expected
it provides superior performance. It also provides a near optimal eviction policy.
Thanks: Ben Manes for suggestion and advice
---
ldap/build.gradle | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/ldap/build.gradle b/ldap/build.gradle
index a734dd948..44490b47a 100644
--- a/ldap/build.gradle
+++ b/ldap/build.gradle
@@ -17,6 +17,14 @@
* under the License.
*/
+// 640 shows 2 hard to understand errors:
+// > Task :compileJava
+// C:\projectsASF\Git\ofbiz-framework\plugins\ldap\src\main\java\org\apache\ofbiz\ldap\activedirectory\OFBizActiveDirectoryAuthenticationHandler.java:95: error: incompatible types: String cannot be converted to DERBuffer
+// LdapEntry entry = new LdapEntry(username);
+// ^
+// C:\projectsASF\Git\ofbiz-framework\plugins\ldap\src\main\java\org\apache\ofbiz\ldap\openldap\OFBizLdapAuthenticationHandler.java:82: error: incompatible types: String cannot be converted to DERBuffer
+// LdapEntry entry = new LdapEntry(username);
+// ^
dependencies {
- 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
+ pluginLibsCompile 'org.apereo.cas:cas-server-support-ldap-core:5.0.10'
}