instanceof in CNI

Tom Tromey
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.


More information about the Java mailing list