This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Java: Fix mangling of inner-class names, take 2



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


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