Skip to content

Is there a version of Caffeine targeting Java 52 (Java SE 8)? #832

Discussion options

You must be logged in to vote

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).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ben-manes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants