This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Adding Fields to Object.java and natObject.cc
- From: Angelo Corsaro <corsaro at ece dot uci dot edu>
- To: GNU GCJ <java at gcc dot gnu dot org>
- Date: 07 Jan 2003 13:28:50 -0800
- Subject: Adding Fields to Object.java and natObject.cc
- Organization: University of California at Irvine
Hello All,
I have been trying to add a field to the java/lang/Object.java.
I need this since I want to keep a reference to the "Memory Area"
that the object is allocated in (this is needed by the Real-Time Java
Specification). Right now I've been keeping this information outside
the Object class, but I'd like to keep it in place by adding a new
Object field to the Object class.
I tried this, being careful of adding it at the right place,
as documented in the Object.java and Object.h.Regardless
of what I try, after I add a new field to the Object class, GCJ
applications segfault at initialization time.
Does anyone knows what the problem is? Is there something else I should
change other than Object.h/Object.java?
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