The name is the name of the field, the signature describes the type, so
if you had a field like this

String[] foo;

The name_index would point to a ConstantUtf8 entry that contained
foo

The signature_index would point to a ConstantUtf8 entry that contained
[Ljava/lang/String;

ConstantPoolGen.addFieldRef would be one way of adding these items to the constant pool



----- Original Message ----- From: "Simplice Djoko" <[EMAIL PROTECTED]>

Hi dave,
thank for your answer, please could you tel me what is the difference between name_index
and signature_index and what can i do to give for a new field the values of name_index and
signature_index who are not in the constant pool


--



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to