jakarta-bcel-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dweim...@students.cs.uu.nl
Subject Re: changing types
Date Thu, 08 Apr 2004 07:08:13 GMT
> 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: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org

View raw message