__CD / __CT / __FL naming collision?

Adam Megacz gcj@lists.megacz.com
Wed Jan 30 22:04:00 GMT 2002


Tom Tromey <tromey@redhat.com> writes:
> >>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
> Adam> class org.foo.bar_.baz => __CD_org_foo_bar__baz
> Adam> class org.foo.bar._baz => __CD_org_foo_bar__baz
> Adam> is this bad?

> I don't know enough about the overall mangling scheme to tell you a
> guaranteed method to pick a safe name :-(

Are there any characters outside [0-9A-Z_$] which are legal in symbols
on all platforms? Period ('.') certainly is not (mingw-gdb chokes on
it). Pretty much any other character could be safely used as a
replacement for '.'. I'll make the change if anybody knows of such a
character.

  - a



More information about the Java mailing list