Compiler inconsistency

Bryce McKinlay
Sun Feb 4 16:13:00 GMT 2001

I just noticed something rather annoying in class.c. We have:

/* Return true iff TYPE2 is an interface that extends interface TYPE1
int interface_of_p (type1, type2)


/* Return true iff TYPE1 inherits from TYPE2. */
int inherits_from_p (type1, type2)

The order of the arguments is different! Ugh.


  [ bryce ]

More information about the Java mailing list