[
https://issues.apache.org/jira/browse/HIVE-29056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sungwoo Park updated HIVE-29056:
--------------------------------
Description:
_emphasized text_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
was:
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
> 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
> Fix For: 4.2.0
>
>
> _emphasized text_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)