Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
- relates to
-
CALCITE-5763 Discontinue support for Guava < 20.0
- Closed
-
CALCITE-5428 Reduce minimum Guava version to 16.0.1
- Closed
- links to