> You need to be very careful when changing UTF8 constants, because they are
> shared not only by method/field signatures, they are also shared with the
> literal strings in the program.

This is very important, indeed. This wipes my idea of just changing the
Utf8 entry of the table. Is this sharing of constant pool entries
documented anywhere? When skimmubg through the constant pool chapter of
the JVM spec again I couldn't find anything about this. Another question
that raises from this: Is the constant pool a 'set', meaning that no
duplicates ever occur?



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

Reply via email to