This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __CD / __CT / __FL naming collision?



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]