[
https://issues.apache.org/jira/browse/CALCITE-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336513#comment-15336513
]
Julian Hyde commented on CALCITE-1258:
--------------------------------------
Thanks [~vlsi], that helped. I've committed and pushed to my dev branch.
Now I'm bumping into "incompatible types" compilation errors, apparently
https://bugs.openjdk.java.net/browse/JDK-8075793. Per that issue, we need to
fix the code:
{noformat}
$ mvn -Pjdk9-workarounds clean package
...
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
project calcite-linq4j: Compilation failure: Compilation failure:
[ERROR]
/home/jhyde/open1/calcite.2/linq4j/src/main/java/org/apache/calcite/linq4j/Linq4j.java:[116,12]
incompatible types:
org.apache.calcite.linq4j.Linq4j.IterableEnumerator<capture#1 of ? extends T>
cannot be converted to org.apache.calcite.linq4j.Enumerator<T>
[ERROR]
/home/jhyde/open1/calcite.2/linq4j/src/main/java/org/apache/calcite/linq4j/Linq4j.java:[194,30]
incompatible types: org.apache.calcite.linq4j.Enumerator<capture#2 of ?
extends V> cannot be converted to org.apache.calcite.linq4j.Enumerator<V>
...
{noformat}
> JDK9 support
> ------------
>
> Key: CALCITE-1258
> URL: https://issues.apache.org/jira/browse/CALCITE-1258
> Project: Calcite
> Issue Type: Bug
> Reporter: Julian Hyde
> Assignee: Julian Hyde
>
> I notice that Travis now offers JDK9. Let's get Calcite building & running on
> JDK9.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)