RFR: 8330684: ClassFile API runs into StackOverflowError while parsing certain class' bytes
Paul Sandoz
psandoz at openjdk.org
Thu Apr 25 20:18:35 UTC 2024
On Thu, 25 Apr 2024 00:51:41 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> Unfortunately it would have to be an expected tags list or an extra constructed bit mask, due to the multiple tags allowed for MemberRefEntry and it would slightly affect the performance.
Ah yes, i missed that. It could be two tags, a lower and upper bound, because TAG_FIELDREF, TAG_METHODREF, and TAG_INTERFACEMETHODREF are consecutive values (9 to 11).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18907#issuecomment-2078099914
More information about the core-libs-dev
mailing list