On Thu, 31 Aug 2023 11:09:05 GMT, Adam Sotona <asot...@openjdk.org> wrote:

> Classfile API suppose to throw IllegalArgumentException in situations where 
> bytecode offset is out of allowed range. Such situation includes invalid 
> offset parsed from a TypeAnnotation as well as from other CodeAttribute 
> attributes.
> 
> This patch throws IAE for invalid bytecode offset when requested Label for 
> the parsed CodeAttribute, so it cover even wider range of cases than 
> mentioned in the bug report.
> 
> Please review.
> 
> Thanks,
> Adam

Marked as reviewed by briangoetz (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15511#pullrequestreview-1627320601

Reply via email to