On Tue, 12 Mar 2024 12:18:25 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> I believe it's unexpected because we don't expect `PropertyVetoException`, 
>> in which case failure seems a better option.
>> 
>> If anything changes so that `PropertyVetoException` would be thrown all the 
>> time, the test would appear to be passing whereas it would not run at all.
>
> This is the only point with which I *disagree*.

Right, I see no reason to catch anything unless it is known to sometimes happen 
and not be a problem.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18184#discussion_r1522052020

Reply via email to