This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Implementation Q
- To: Colin McCormack <colin at field dot medicine dot adelaide dot edu dot au>
- Subject: Re: Implementation Q
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Sun, 5 Mar 2000 00:05:23 -0800 (PST)
- Cc: Tom Tromey <tromey at cygnus dot com>, java-discuss at sourceware dot cygnus dot com
- References: <200003050002.QAA02064@ferrule.cygnus.com><200003050013.QAA16307@cygnus.com><200003050028.QAA02075@ferrule.cygnus.com><tromey@cygnus.com><200003050036.QAA18810@cygnus.com>
>> Anyway, yes, not supporting rtti makes it hard to link gcj code to
>> existing C++ libraries which rely on rtti. Fixing gcj is the best
>> approach. If you need it in a timely way, as always, you'll probably
>> have to write it yourself...
Colin> One could, I suppose, make typeinfo for a Java class be the
Colin> same as that for void, or create some other opaque thing -
Colin> JavaClass or something.
Colin> How does that strike you, as an initial approximation?
Of course I'd prefer to see a full implementation.
A dummy implementation just papers over the problem... presumably code
that relies on rtti expects it to mean something.
Tom