You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2024/05/17 09:45:00 UTC

[jira] [Updated] (HBASE-26048) [JDK17] Replace the usage of deprecated API ThreadGroup.destroy()

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

Duo Zhang updated HBASE-26048:
------------------------------
    Component/s: proc-v2

> [JDK17] Replace the usage of deprecated API ThreadGroup.destroy()
> -----------------------------------------------------------------
>
>                 Key: HBASE-26048
>                 URL: https://issues.apache.org/jira/browse/HBASE-26048
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2
>            Reporter: Wei-Chiu Chuang
>            Assignee: Duo Zhang
>            Priority: Major
>
> According to the JDK17 doc, ThreadGroup.destroy() is deprecated because
> {quote}Deprecated, for removal: This API element is subject to removal in a future version.
> {quote}
> The API and mechanism for destroying a ThreadGroup is inherently flawed. The ability to explicitly or automatically destroy a thread group will be removed in a future release.
> [https://download.java.net/java/early_access/jdk17/docs/api/java.base/java/lang/ThreadGroup.html#destroy(])
> We don't necessarily need to remove this usage now, but the warning sounds bad enough.



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