On Wed, 29 May 2024 05:19:28 GMT, Chen Liang wrote:
>> I propose to add type-checked ConstantPool.entryByIndex and
>> ClassReader.readEntryOrNull taking an extra Class parameter, which throws
>> ConstantPoolException instead of ClassCastException on type mismatch, which
>> can happen to
> I propose to add type-checked ConstantPool.entryByIndex and
> ClassReader.readEntryOrNull taking an extra Class parameter, which throws
> ConstantPoolException instead of ClassCastException on type mismatch, which
> can happen to malformed ClassFiles.
>
> Requesting a review from @asotona.