mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 16:59:56 +01:00
Interfaces, field and method names and descriptors, signatures, constant values, thrown and caught types, inner classes and annotation types each copy their constant-pool text. Many entries can name one 65,535-byte Utf8, so a class file under 100 KiB could make parse() copy gigabytes. parse() now copies at most 64 MiB of such text per class. Past that, names are kept as pool-index placeholders (<class#2>, <utf8#1>) and a warning is added; every row is still listed.