I think you hit CALCITE-4798 [1] but not sure why others didn't now bump into this so far.
There is a PR ready, I will test if it resolves the problem for me and merge it today. Best, Stamatis [1] https://issues.apache.org/jira/browse/CALCITE-4798 On Wed, Oct 6, 2021 at 9:31 AM stanilovsky evgeny < [email protected]> wrote: > Thanks, i suppose it`s all ok with java > java -version > openjdk version "13.0.7" 2021-04-20 > OpenJDK Runtime Environment (build 13.0.7+5-Ubuntu-0ubuntu120.04) > OpenJDK 64-Bit Server VM (build 13.0.7+5-Ubuntu-0ubuntu120.04, mixed mode) > > and not ok with: > > build.gradle.kts > > ''' > val werror by props(true) > ... > if (werror) { > options.compilerArgs.add("-Werror") > } > ''' > > > What is the exact Java version you are using? > > > > It looks like https://bugs.openjdk.java.net/browse/JDK-8032211 , and it > > might be that newer OpenJDK include the fix. > > > > Vladimir >
