Java: Don't mangle "$" characters in identifier names
Bryce McKinlay
bryce@albatross.co.nz
Sun Mar 11 19:53:00 GMT 2001
The Java compiler currently mangles "$" characters, which occur in
inner class names, to "__U24_" if NO_DOLLAR_IN_LABEL is defined. The
C++ compiler does not do this, resulting in ABI incompatibilities
between GCJ and C++ compiled code.
This patch changes GCJ to not do this mangling, matching the behaviour
of C++. If the C++ compiler is correct here, and "$" should never be
mangled, then the $ code should be removed entirely from GCJ. Can
anyone comment on this?
OK to commit?
regards
[ bryce ]
More information about the Java-patches
mailing list