In PR build, I noticed the following ( https://builds.apache.org/job/kafka-pr-jdk10-scala2.12/622/console) :
*02:32:11* :clients:compileJava/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk10-scala2.12/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java:1262: error: lambda expressions are not supported in -source 7*02:32:12* client.poll(pollTimeout, nowMs, () -> {*02:32:12* ^*02:32:12* (use -source 8 or higher to enable lambda expressions)*02:32:12* 1 error Could the above be due to the following in build.gradle : if (JavaVersion.current().isJava9Compatible()) options.compilerArgs << "--release" << "7" If so, we need to adjust it. Cheers On Mon, Apr 9, 2018 at 9:46 AM, Ismael Juma <ism...@juma.me.uk> wrote: > Hi all, > > Java 10 was recently released and support for Java 9 has ended since it's > not a LTS release. I've added a kafka-trunk Jenkins job for Java 10 and > disabled the Java 9 job. I also added a PR Jenkins job for Java 10 and will > soon disable the Java 9 PR job. > > The general idea is to have a separate Jenkins job for the latest non LTS > release (Java 10) and all supported LTS releases (Java 8 and Java 7 > currently, soon to become Java 8 only). > > Let me know if you have any questions or concerns. > > Ismael >