[ https://issues.apache.org/jira/browse/HBASE-26048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang reassigned HBASE-26048: --------------------------------- Assignee: Duo Zhang > [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 > 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)