On Mon, 22 May 2023 10:30:27 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

>> I don't mind moving this but it would require changing them everywhere (as 
>> you point out).
>
> I think it's fine to leave it in the current form then. If/when any of these 
> tests fail due to unexpected exception type in these asserts, we can then 
> move them all to the other proposed (or some other) construct.

Yes, as we really want an instanceof check here, the exception could be a 
subclass.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14072#discussion_r1200372861

Reply via email to