RFR: 8332486: ClassFile API ArrayIndexOutOfBoundsException with label metadata

Paul Sandoz psandoz at openjdk.org
Mon May 20 19:13:01 UTC 2024


On Mon, 20 May 2024 08:37:49 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> Parsing of a specifically corrupted class file cause unexpected `ArrayIndexOutOfBoundsException` during label inflation.
> This patch checks the valid range and throws expected `IllegalArgumentException` instead.
> Relevant test is added.
> 
> Please review.
> 
> Thanks,
> Adam

Marked as reviewed by psandoz (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19304#pullrequestreview-2066846853


More information about the core-libs-dev mailing list