This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Java: Fix mangling of inner-class names, take 2
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 19 Dec 2001 21:31:15 -0800 (PST)
- Subject: Re: Java: Fix mangling of inner-class names, take 2
- References: <3C217343.9010100@waitaki.otago.ac.nz>
- Reply-to: apbianco at cygnus dot com
Bryce McKinlay writes:
> 1. There is no platform which libjava can build on that doesn't support
> '$' in labels, because other Java labels (eg "class$") have always used
> "$" without mangling it and there have been no reports of problems.
That's true.
> 2. C++ already completely ignores NO_DOLLAR_IN_LABEL except for some
> cruft in the old name mangler, so it makes sense for Java to do the
> same.
Yes.
> 3. If we ever want to build on a platform that cant deal with "$" in
> labels (unlikely), the mangling should really happen at a later
> stage in order to pick up other uses (such as the "class$") and be
> compatible between C++ and Java.
I guess.
> OK to commit?
OK, thanks.
./A