> Classfile API allowed to generate Code attribute exceeding the 65k limit. No
> exception has been thrown during class generation and the class failed
> verification later during class loading.
> This patch adds Code size limit check throwing IllegalArgumentException.
> The patch also adds simil
On Wed, 24 May 2023 12:57:59 GMT, Adam Sotona wrote:
>> src/java.base/share/classes/jdk/internal/classfile/impl/DirectCodeBuilder.java
>> line 314:
>>
>>> 312:
>>> 313: int codeLength = curPc();
>>> 314: if (codeLength >= 65536) {
>>
>> Hello Adam, looking at t