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

Upgrade Guava to 23.3 and Airline to 0.8

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • Dependencies
    • 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

              marcuse Marcus Eriksson
              marcuse Marcus Eriksson
              Marcus Eriksson
              Stefan Podkowinski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: