Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5477

Compatibility with Guava < 20.0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.35.0
    • None

    Description

      Related to CALCITE-5428.

      Preconditions.checkArgument gained new overloads in Guava 20.0, which prevents code built using Guava 20.0 from running properly with earlier versions of Guava. (When building against a later version of Guava, as Calcite does by default, the Java compiler generates calls to methods that don't exist in those earlier versions.)

      Example: in Guava 20.0 there is checkArgument(boolean, String, int); in earlier versions this would be handled by checkArgument(boolean, String, Object...).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gian Gian Merlino
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m