Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13997

Upgrade Guava to 23.3 and Airline to 0.8

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0, 4.0-alpha1
    • Component/s: Dependencies
    • Labels:
      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

        1. airline-0.8.jar.asc
          0.5 kB
          Stefan Podkowinski
        2. guava-23.3-jre.jar.asc
          0.5 kB
          Stefan Podkowinski

          Issue Links

            Activity

              People

              • Assignee:
                marcuse Marcus Eriksson
                Reporter:
                marcuse Marcus Eriksson
                Authors:
                Marcus Eriksson
                Reviewers:
                Stefan Podkowinski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: