spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-5475) Java 8 tests are like maintenance overhead.
Date Thu, 29 Jan 2015 09:11:35 GMT

    [ https://issues.apache.org/jira/browse/SPARK-5475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296623#comment-14296623
] 

Sean Owen commented on SPARK-5475:
----------------------------------

Eh, wait a sec, those tests are for testing Java 8 lambda support in Spark, which isn't at
all redundant. They compile and run fine. Are you using Java 8? and setting {{-Pjava8-tests}?

> Java 8 tests are like maintenance overhead. 
> --------------------------------------------
>
>                 Key: SPARK-5475
>                 URL: https://issues.apache.org/jira/browse/SPARK-5475
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Prashant Sharma
>
> Having tests that validate the same code compatible with java 8 and java 7 is like asserting
that java 8 is backward compatible with java 7 and still supports java 8 features(lambda expressions
to be precise). This was once necessary as asm was not compatible with java 8 and so on. 
> Running java8-tests on the current code base results in more than 100 compilation errors,
it felt as if they are never run. This is based on the fact that compilation errors have existed
for a pretty long period. So IMHO, we should really remove them, if we don't plan to maintain.
> Thoughts?



--
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


Mime
View raw message