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

Dongjoon Hyun resolved SPARK-47223.
-----------------------------------
    Fix Version/s:     (was: 3.5.1)
       Resolution: Invalid

The minimum support JDK version of Apache Spark 4+ is Java 17. We cannot use an 
API introduced at Java 19.

[https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Thread.html#threadId()]

> Update usage of deprecated Thread.getId() to Thread.threadId()
> --------------------------------------------------------------
>
>                 Key: SPARK-47223
>                 URL: https://issues.apache.org/jira/browse/SPARK-47223
>             Project: Spark
>          Issue Type: Request
>          Components: Spark Core, SQL
>    Affects Versions: 3.5.1
>            Reporter: Neil Gupta
>            Priority: Trivial
>              Labels: pull-request-available
>
> Update usage of deprecated Thread.getId() to Thread.threadId().
>  
> Currently in Spark, there are multiple references still to the deprecated 
> method [Thread.getId()|#getId()]] given that the current version is using 
> Java 21. Java officially requests any type of usage to be switched to the 
> [Thread.threadId()|#threadId()]] method instead.



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

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

Reply via email to