You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2016/05/31 23:56:13 UTC

[jira] [Resolved] (SPARK-15451) Spark PR builder should fail if code doesn't compile against JDK 7

     [ https://issues.apache.org/jira/browse/SPARK-15451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Vanzin resolved SPARK-15451.
------------------------------------
       Resolution: Fixed
         Assignee: Marcelo Vanzin
    Fix Version/s: 2.0.0

> Spark PR builder should fail if code doesn't compile against JDK 7
> ------------------------------------------------------------------
>
>                 Key: SPARK-15451
>                 URL: https://issues.apache.org/jira/browse/SPARK-15451
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.0.0
>            Reporter: Marcelo Vanzin
>            Assignee: Marcelo Vanzin
>             Fix For: 2.0.0
>
>
> We need to compile certain parts of the build using jdk8, so that we test things like lambdas. But when possible, we should either compile using jdk7, or provide jdk7's rt.jar to javac. Otherwise it's way too easy to slip in jdk8-specific library calls.
> I'll take a look at fixing the maven / sbt files, but I'm not sure how to update the PR builders since this will most probably require at least a new env variable (to say where jdk7 is).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org