Should be, but isn't what Jenkins does.
https://issues.apache.org/jira/browse/SPARK-1437

At this point it might be simpler to just decide that 1.5 will require
Java 7 and then the Jenkins setup is correct.

(NB: you can also solve this by setting bootclasspath to JDK 6 libs
even when using javac 7+ but I think this is overly complicated.)

On Sun, May 3, 2015 at 5:52 AM, Mridul Muralidharan <mri...@gmail.com> wrote:
> Hi Shane,
>
>   Since we are still maintaining support for jdk6, jenkins should be
> using jdk6 [1] to ensure we do not inadvertently use jdk7 or higher
> api which breaks source level compat.
> -source and -target is insufficient to ensure api usage is conformant
> with the minimum jdk version we are supporting.
>
> Regards,
> Mridul
>
> [1] Not jdk7 as you mentioned
>
> On Sat, May 2, 2015 at 8:53 PM, shane knapp <skn...@berkeley.edu> wrote:
>> that's kinda what we're doing right now, java 7 is the default/standard on
>> our jenkins.
>>
>> or, i vote we buy a butler's outfit for thomas and have a second jenkins
>> instance...  ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org

Reply via email to