John Zhuge created SPARK-27250: ---------------------------------- Summary: Scala 2.11 maven compile should target Java 1.8 Key: SPARK-27250 URL: https://issues.apache.org/jira/browse/SPARK-27250 Project: Spark Issue Type: Bug Components: Build Affects Versions: 3.0.0 Reporter: John Zhuge
{noformat} [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/catalyst/src/main/scala/org/apache/spark/sql/catalog/v2/LookupCatalog.scala:40: Static methods in interface require -target:jvm-1.8 [error] (None, Identifier.of(Array.empty, name)) [error] ^ [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/catalyst/src/main/scala/org/apache/spark/sql/catalog/v2/LookupCatalog.scala:44: Static methods in interface require -target:jvm-1.8 [error] (Some(catalog), Identifier.of(tail.init.toArray, tail.last)) [error] ^ [error] /home/jenkins/workspace/spark-master-test-maven-hadoop-2.7-ubuntu-scala-2.11/sql/catalyst/src/main/scala/org/apache/spark/sql/catalog/v2/LookupCatalog.scala:47: Static methods in interface require -target:jvm-1.8 [error] (None, Identifier.of(parts.init.toArray, parts.last)) [error] ^ [error] three errors found [error] Compile failed at Mar 22, 2019 2:10:52 AM [42.688s] {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org