Integrated: 8332486: ClassFile API ArrayIndexOutOfBoundsException with label metadata
Adam Sotona
asotona at openjdk.org
Tue May 21 08:02:08 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
This pull request has now been integrated.
Changeset: 451cc239
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/451cc239050f097060be927171fe0e46962f3356
Stats: 19 lines in 2 files changed: 18 ins; 0 del; 1 mod
8332486: ClassFile API ArrayIndexOutOfBoundsException with label metadata
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.org/jdk/pull/19304
More information about the core-libs-dev
mailing list