On Thu, Mar 24, 2016 at 1:04 AM, Reynold Xin <r...@databricks.com> wrote: > I actually talked quite a bit today with an engineer on the scala compiler > team tonight and the scala 2.10 + java 8 combo should be ok. The latest > Scala 2.10 release should have all the important fixes that are needed for > Java 8.
So, do you actually get the benefits you're looking for without compiling explicitly to the 1.8 jvm? Because: $ scala -version Scala code runner version 2.10.6 -- Copyright 2002-2013, LAMP/EPFL $ scalac -target jvm-1.8 scalac error: Usage: -target:<target> where <target> choices are jvm-1.5, jvm-1.5-fjbg, jvm-1.5-asm, jvm-1.6, jvm-1.7, msil (default: jvm-1.6) So even if you use jdk 8 to compile with scala 2.10, you can't target jvm 1.8 as far as I can tell. -- Marcelo --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org For additional commands, e-mail: dev-h...@spark.apache.org