Integrated: 8331320: ClassFile API OutOfMemoryError with certain class files
Adam Sotona
asotona at openjdk.org
Thu May 2 18:10:56 UTC 2024
On Tue, 30 Apr 2024 15:31:02 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> Class files with specifically corrupted tableswitch or lookupswitch instructions in the bytecode cause OutOfMemoryError while parsing with Class-File API.
> This patch performs additional checks to avoid OOME and adds relevant tests.
>
> Please review.
>
> Thank you,
> Adam
This pull request has now been integrated.
Changeset: e2c0cfef
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/e2c0cfef1468e1081d1e68f74caae71266815cb6
Stats: 60 lines in 2 files changed: 59 ins; 0 del; 1 mod
8331320: ClassFile API OutOfMemoryError with certain class files
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.org/jdk/pull/19024
More information about the core-libs-dev
mailing list