ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Impact of Java SecurityManager being deprecated for removal post Java 17
Date Thu, 19 Aug 2021 07:52:54 GMT
On 2021-08-05, Gintautas Grigelionis wrote:

> The most acute problem is this: SecurityManager seems to be involved in
> handling of return code from forked processes.
> How does JDK 17+ solve that?

JDK17 doesn't try to solve that as I understand it, the use-case of
"prevent System.exit" has been identified and an API to address this may
be defined later. I'd hope this new API will not only prevent
System.exit but also provide a way to capture its argument.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message