[
https://issues.apache.org/jira/browse/SPARK-6152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347220#comment-14347220
]
Ronald Chen commented on SPARK-6152:
------------------------------------
I've made the description more clear. The problem is occurs when I create a
Scala 2.11 project that imports Spark 1.2.1 and I compile my Scala code to Java
8 using "scalac -target:jvm-1.8 ..."
> Spark does not support Java 8 compiled Scala classes
> ----------------------------------------------------
>
> Key: SPARK-6152
> URL: https://issues.apache.org/jira/browse/SPARK-6152
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.2.1
> Environment: Java 8+
> Scala 2.11
> Reporter: Ronald Chen
> Priority: Minor
>
> Spark uses reflectasm to check Scala closures which fails if the *user
> defined Scala closures* are compiled to Java 8 class version
> The cause is reflectasm does not support Java 8
> https://github.com/EsotericSoftware/reflectasm/issues/35
> Workaround:
> Don't compile Scala classes to Java 8, Scala 2.11 does not support nor
> require any Java 8 features
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]