You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2025/08/02 23:50:00 UTC

[jira] [Updated] (SPARK-53047) Mordernize Spark to use the latest Java features

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

Dongjoon Hyun updated SPARK-53047:
----------------------------------
    Description: 
This issue aims to modernize Spark by taking advantage of all Java features which are available since Java 17. In general, these Java's built-in implementations are much faster than Scala 2.13.x or 3rd party libraries and guarantees a complete benefit of the future Java 25.

|| VERSION || JEP ||
| Java 9 | JEP 280: Indify String Concatenation (https://openjdk.org/jeps/280) |
| Java 9 | `InputStream.transferTo` |
| Java 9 | `InputStream.readAllBytes` |
| Java 11 | `String.isBlank` |
| Java 11 | `String.repeat` |
| Java 11 | `Files.readString` |
| Java 11 | `Files.writeString` |
| Java 14 | JEP 359: Records (Preview) (https://openjdk.org/jeps/359) |
| Java 15 | JEP 384: Records (Second Preview) (https://openjdk.org/jeps/384) |
| Java 16 | JEP 395: Records (https://openjdk.org/jeps/395) |

  was:
This issue aims to modernize Spark by taking advantage of all Java features which are available since Java 17. In general, these Java's built-in implementations are much faster than Scala 2.13.x or 3rd party libraries and guarantees a complete benefit of the future Java 25.

|| VERSION || JEP ||
| Java 9 | JEP 280: Indify String Concatenation (https://openjdk.org/jeps/280) |
| Java 9 | `InputStream.transferTo` |
| Java 9 | `InputStream.readAllBytes` |
| Java 11 | `String.isBlank` |
| Java 11 | `String.repeat` |
| Java 11 | `Files.writeString` |
| Java 14 | JEP 359: Records (Preview) (https://openjdk.org/jeps/359) |
| Java 15 | JEP 384: Records (Second Preview) (https://openjdk.org/jeps/384) |
| Java 16 | JEP 395: Records (https://openjdk.org/jeps/395) |


> Mordernize Spark to use the latest Java features
> ------------------------------------------------
>
>                 Key: SPARK-53047
>                 URL: https://issues.apache.org/jira/browse/SPARK-53047
>             Project: Spark
>          Issue Type: Umbrella
>          Components: Spark Core, SQL
>    Affects Versions: 4.1.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>              Labels: releasenotes
>             Fix For: 4.1.0
>
>
> This issue aims to modernize Spark by taking advantage of all Java features which are available since Java 17. In general, these Java's built-in implementations are much faster than Scala 2.13.x or 3rd party libraries and guarantees a complete benefit of the future Java 25.
> || VERSION || JEP ||
> | Java 9 | JEP 280: Indify String Concatenation (https://openjdk.org/jeps/280) |
> | Java 9 | `InputStream.transferTo` |
> | Java 9 | `InputStream.readAllBytes` |
> | Java 11 | `String.isBlank` |
> | Java 11 | `String.repeat` |
> | Java 11 | `Files.readString` |
> | Java 11 | `Files.writeString` |
> | Java 14 | JEP 359: Records (Preview) (https://openjdk.org/jeps/359) |
> | Java 15 | JEP 384: Records (Second Preview) (https://openjdk.org/jeps/384) |
> | Java 16 | JEP 395: Records (https://openjdk.org/jeps/395) |



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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