[Bug java/12586] gnu.java.net name mangling bug

carlo at alinoe dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 12 15:09:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12586



------- Additional Comments From carlo at alinoe dot com  2003-10-12 15:09 -------
Subject: Re:  New: gnu.java.net name mangling bug

For the record, the correct mangling of this would be

_ZN4java3net12ServerSocketC1EPN3gnu4java3net15PlainSocketImplE

(without 'compression') and *NOT*

_ZN4java3net12ServerSocketC1EPN3gnuS0_15PlainSocketImplE

because substitutions (the S0_) may only substitute for
strings that refer to the same entity (and ::java::net has
nothing to do with ::gnu::java::net, which is a totally different
namespace).



More information about the Gcc-bugs mailing list