[
https://issues.apache.org/jira/browse/HIVE-29056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17987281#comment-17987281
]
Ayush Saxena commented on HIVE-29056:
-------------------------------------
Committed to master.
Thanx [~abstractdog] for the review!!!
> Use ExitUtil.terminate instead of System.exit to handle
> System.setSecurityManager()
> -----------------------------------------------------------------------------------
>
> Key: HIVE-29056
> URL: https://issues.apache.org/jira/browse/HIVE-29056
> Project: Hive
> Issue Type: Improvement
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Labels: pull-request-available
>
> System.setSecurityManager() adds sutdown hooks in tests to avoid System.exit
> calls. It is now not supported in JDK-21+
>
> Replace System.exit calls with ExitUtil.terminate(), which has ways to handle
> such scenarios easily
--
This message was sent by Atlassian Jira
(v8.20.10#820010)