Re: break jmisc.main

Tom Tromey
2003-03-13T23:04:25Z

>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:

Daniel> - transform between the Java and C++ demanglings. Converting from the
Daniel> C++ output to the Java output looks doable, although exceedingly
Daniel> annoying:
Daniel> - different names for some types (bool vs boolean, char vs wchar_t)
Daniel> - All '*' characters are removed
Daniel> - JArray<TYPE> becomes TYPE[].
Daniel> (That's an exhaustive list.)

You also convert `::' to `.'.

Daniel> Going the other way, Java -> C++, would probably be impossible
Daniel> because of the removed '*'s.

In Java there are only a small number of primitive types, and
references. If it isn't a primitive type, it is a reference and you
add a `*'. So I think it should be possible.

Tom