RFR: 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index [v5]

Alexey Ivanov aivanov at openjdk.org
Fri Aug 29 08:16:43 UTC 2025


On Fri, 29 Aug 2025 06:52:49 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

> Current state of test, i feel is more readable. So will keep it as it is.

Either you like streams or you don't. It took a long while for me to appreciate this functional style.

What I don't particularly like about the current version is the use of “internal” state with the `failed` field instead of returning the result of a test case. Yet the test is still easy to understand.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26522#discussion_r2309500977


More information about the client-libs-dev mailing list