RFR: 8357955: java.lang.classfile.Signature.ArrayTypeSig.of IAE not thrown for dims > 255

Jan Lahoda jlahoda at openjdk.org
Wed May 28 18:23:50 UTC 2025


On Wed, 28 May 2025 17:56:07 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> java.lang.classfile.Signature.ArrayTypeSig.of constraint check did not include dimensions of the given component if the component is an array.
> 
> This patch fixes the constraint check, corrects the @throws description and adds test of the subj.
> 
> Please review.
> 
> Thanks,
> Adam

Makes sense to me.

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

Marked as reviewed by jlahoda (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25506#pullrequestreview-2876029623


More information about the core-libs-dev mailing list