Julian Hyde created CALCITE-1590:
------------------------------------
Summary: Support Guava version 21.0
Key: CALCITE-1590
URL: https://issues.apache.org/jira/browse/CALCITE-1590
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Guava version 21.0 is an important version because it is the first with JDK 8
support (hence lambdas). Make sure that Calcite runs on it (on JDK 8 and
later). Continue to support other versions of Guava as early as 14.0.1.
Compilation using {{mvn clean -Dguava.version=21.0 clean test}} on JDK8
currently yields many errors like the following:
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile)
on project calcite-core: Compilation failure: Compilation failure:
[ERROR]
/Users/jhyde/open1/calcite.2/core/src/main/java/org/apache/calcite/rel/core/Values.java:[68,31]
<anonymous org.apache.calcite.rel.core.Values$2> is not abstract and does not
override abstract method test(org.apache.calcite.rel.core.Values) in
java.util.function.Predicate
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)