Unexpected behaviour for ClassReader#readUTF8
Given the index to a CONSTANT_Utf8_info
struct within the constant pool, and a ClassReader
instance, I'm unable to read the CONSTANT_Utf8_info
struct without using reflection to call ClassReader#readUTF
. This is because the readUTF8
actually reads a CONSTANT_String_info
struct. Is it possible to expose a method which allows reading a CONSTANT_Utf8_info
struct, or make readUTF
public?