[jdk25] Integrated: 8361615: CodeBuilder::parameterSlot throws undocumented IOOBE

2025-07-11 Thread Chen Liang
On Wed, 9 Jul 2025 19:33:38 GMT, Chen Liang wrote: > Hi all, > > This pull request contains a backport of commit > [c9bea773](https://github.com/openjdk/jdk/commit/c9bea77342672715f8f720d7311d66c2b3ac9f8a) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. #26200 > > The commit

Integrated: 8361615: CodeBuilder::parameterSlot throws undocumented IOOBE

2025-07-09 Thread Chen Liang
On Tue, 8 Jul 2025 18:46:00 GMT, Chen Liang wrote: > In a recent inspection of all methods that accept an `int` argument in the > Class-File API, I noticed this method that validates its argument but did not > document the validation. The behavior is to throw IOOBE. We can simply > document th