Adding Fields to Object.java and natObject.cc

Tom Tromey tromey@redhat.com
Tue Jan 7 21:36:00 GMT 2003


>>>>> "Angelo" == Angelo Corsaro <corsaro@ece.uci.edu> writes:

Angelo> Does anyone knows what the problem is? Is there something else
Angelo> I should change other than Object.h/Object.java?
Don't modify Object.java -- fields should never go there (a somewhat
confusing requirement). Modifying Object.h is correct but
insufficient. You must also modify the compiler to know about the new
field. There is code in decl.c and in class.c for this.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /