This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Adding Fields to Object.java and natObject.cc
Hello Tom,
On Tue, 2003-01-07 at 13:39, Tom Tromey wrote:
> 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.
I saw that there is some code in expr.c that copes with sync_info (the
only non-static attribute for the class Object), do I need to change
that file as well to reflect my changes?
Thanks a Lot,
Angelo
--
Angelo Corsaro
Web - http://www.ece.uci.edu/~corsaro
Tel. - (949) 824-7548
University of California, Irvine
355 Engineering Tower
Irvine, CA 92697-2625