RFR: 8331940: ClassFile API ArrayIndexOutOfBoundsException with certain class files [v2]
Adam Sotona
asotona at openjdk.org
Wed May 15 07:51:33 UTC 2024
> Class file with `LineNumberTable` attribute element pointing behind the bytecode array throws `ArrayIndexOutOfBoundsException`.
> This patch performs the check and throws expected `IllegalArgumentException` instead.
> Relevant test is added.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
fixed exception message
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19230/files
- new: https://git.openjdk.org/jdk/pull/19230/files/f2a8d981..df6ecdc2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19230&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19230&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/19230.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19230/head:pull/19230
PR: https://git.openjdk.org/jdk/pull/19230
More information about the core-libs-dev
mailing list