On Mon, 26 Jan 2026 08:28:26 GMT, Alan Bateman <[email protected]> wrote:

> On the surface, the test is begging to use assertThrows but this a test for a 
> C2 issue so I agree it shouldn't be changed.

Then perhaps a comment documenting this decision would be helpful to future 
maintainers who may be tempted to improve the test using `assertThrows`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29405#discussion_r2726857288

Reply via email to