[
https://issues.apache.org/jira/browse/XERCESJ-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18031409#comment-18031409
]
Elliotte Rusty Harold commented on XERCESJ-1787:
------------------------------------------------
We'll cross that bridge if and when we come to it. At that time, a more nuanced
approach will be required that works in multiple Java versions. Possibly it
will involve removing these code paths entirely, or perhaps we'll need to do
some reflection hackery. But dropping pre-Java 20 versions is not on the table.
> xerces should no longer catch ThreadDeath as it was deprecated in JDK 20 and
> due to be removed
> ----------------------------------------------------------------------------------------------
>
> Key: XERCESJ-1787
> URL: https://issues.apache.org/jira/browse/XERCESJ-1787
> Project: Xerces2-J
> Issue Type: Bug
> Reporter: Samael Bate
> Priority: Major
>
> there are catch blocks for {{ThreadDeath}} in two classes in the code base.
> {{ThreadDeath}} has been deprecated since Java 20 and is due to be removed.
> I've created a branch to remove its use and will raise a PR on GitHub
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]