Re: RFR: 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

Re: RFR: 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

Re: RFR: 8361615: CodeBuilder::parameterSlot throws undocumented IOOBE

2025-07-09 Thread Adam Sotona
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