On Tue, 23 May 2023 15:13:04 GMT, Chen Liang <li...@openjdk.org> wrote:

> On a side note, does Classfile API reject methods with too many slots 
> (locals) (MethodTypeDesc can represent parameter lists with over 255 slots) 
> or stack (operand)?

Classfile API does not perform any extra verifications of MethodTypeDesc and 
255 slots is limit for method parameters. Code attribute maxLocals and maxStack 
have limit of 65535, however it is not checked yet.

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

PR Comment: https://git.openjdk.org/jdk/pull/14100#issuecomment-1560933070

Reply via email to