Wei-Chiu Chuang created HBASE-26048:
---------------------------------------
Summary: [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
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.3.4#803005)