Is there a version of Caffeine targeting Java 52 (Java SE 8)? #832
-
Hi, I am attempting to use Caffeine in AEM as a Cloud Service, but we're receiving this error:
We're using maven for dependencies. Is there a version of Caffeine available for Java 52? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, |
Beta Was this translation helpful? Give feedback.
Yes,
2.9.3
is the latest on the v2 line which targets Java 8. This is still supported, where the minimum JDK was increased in v3 to migrate from Unsafe onto VarHandles (Java 9) for CAS on volatile fields (as AtomicReference is pretty heavy if per entry). There is less release activity for 2.x as users migrate onto later JDKs, but bugs will be fixed (it may take a request to backport if the user impact isn't known).