Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
For 4.0 we should upgrade guava to the latest version
patch here: https://github.com/krummas/cassandra/commits/marcuse/guava23
A bunch of quite commonly used methods have been deprecated since guava 18 which we use now (Throwables.propagate for example), this patch mostly updates uses where compilation fails. Futures.transform(ListenableFuture ..., AsyncFunction ... was deprecated in Guava 19 and removed in 20 for example, we should probably open new tickets to remove calls to all deprecated guava methods.
Also had to add a dependency on com.google.j2objc.j2objc-annotations, to avoid some build-time warnings (maybe due to https://github.com/google/guava/commit/fffd2b1f67d158c7b4052123c5032b0ba54a910d ?)
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-13175 Integrate "Error Prone" Code Analyzer
- Open
-
CASSANDRA-14218 Deprecate Throwables.propagate usage
- Resolved
- relates to
-
CASSANDRA-13361 Consider upgrading bundled libraries to modern versions
- Open