RFR: 8348986: Improve coverage of enhanced exception messages [v11]
Alan Bateman
alanb at openjdk.org
Tue May 27 06:12:53 UTC 2025
On Mon, 26 May 2025 21:44:32 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
> The point I was raising, is that the socket etc category was dropped under the premise that it requires knowledge of the APIs used.
Right, what is now "hostInfoExclSocket" is a confusing category and not easy to explain to anyone. However it is the long standing default. If you relax the default then security people will complain. If you make it more strict then developers will complain as it makes troubleshooting harder. With the current proposal then nobody has to deal with this confusing named category. Instead, if you want reveal more exceptions then you run with the property set to hostInfo, a category that is much simpler to understand.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23929#discussion_r2108262111
More information about the net-dev
mailing list