instanceof in CNI

Tom Tromey tromey@cygnus.com
Sat Mar 25 23:25:00 GMT 2000


Per> class java::lang::String : public java::lang::Object
Per> {
Per>   java::lang::Class $class;
Per> }
Per> Then you'd just reference String::$class .

Do you mean `Class *$class'?  To me that seems more natural.  We could
do that without changing the mangling or anything; just add a new
static to each class.

Tom



More information about the Java mailing list