RFR: 8331320: ClassFile API OutOfMemoryError with certain class files [v2]

Paul Sandoz psandoz at openjdk.org
Thu May 2 16:13:55 UTC 2024


On Thu, 2 May 2024 11:13:22 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
>
> Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8331320-OOME
>  - 8331320: ClassFile API OutOfMemoryError with certain class files

Marked as reviewed by psandoz (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19024#pullrequestreview-2036210957


More information about the core-libs-dev mailing list