This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Adding Fields to Object.java and natObject.cc


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]