The CONSTANT_String_info structure is used to represent constant objects of the type String:
CONSTANT_String_info {
u1 tag;
u2 string_index;
}
The items of the CONSTANT_String_info structure are as follows:
-
tag
The
tagitem has the valueCONSTANT_String(8). -
string_index
The value of the
string_indexitem must be a valid index into theconstant_pooltable. Theconstant_poolentry at that index must be aCONSTANT_Utf8_infostructure (§4.4.7) representing the sequence of Unicode code points to which theStringobject is to be initialized.