Sean Owen created SPARK-7733:
--------------------------------
Summary: Update build, code to use Java 7 for 1.5.0+
Key: SPARK-7733
URL: https://issues.apache.org/jira/browse/SPARK-7733
Project: Spark
Issue Type: Task
Components: Build, Deploy, Spark Core
Reporter: Sean Owen
Assignee: Sean Owen
Following the announced intention to drop Java 6 support in Spark 1.5, we
should go ahead and switch master to Java 7 for Spark 1.5. We can also then
remove a few checks and comments that were specific to supporting Java 6.
I think we might also usefully use the try-with-resources feature to improve /
tighten up resource management in Java code, and look at replacing some uses of
Guava functions with new JDK equivalents.
It's probably not quite worth replacing {{List<String> foo = new
ArrayList<String>()}} with {{List<String> foo = new ArrayList<>()}} everywhere
but that simplification might be useful to apply over time as the Java code is
otherwise changed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]