Adding Fields to Object.java and natObject.cc

Angelo Corsaro corsaro@ece.uci.edu
Tue Jan 7 21:28:00 GMT 2003


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




More information about the Java mailing list