You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Neil Gupta (Jira)" <ji...@apache.org> on 2024/02/29 04:29:00 UTC
[jira] [Updated] (SPARK-47223) Update usage of deprecated Thread.getId() to Thread.threadId()
[ https://issues.apache.org/jira/browse/SPARK-47223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neil Gupta updated SPARK-47223:
-------------------------------
Description:
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.
was:
Update usage of deprecated Thread.getId() to Thread.threadId().
Currently in Spark, there are multiple references still to the deprecated method [`Thread.getId()`|[https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Thread.html#getId()]|https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Thread.html#getId()],] given that the current version is using Java 21. Java officially requests any type of usage to be switched to the [`Thread.threadId()`|[https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Thread.html#threadId()]] method instead.
> 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
> Fix For: 3.5.1
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org