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]

Re: Add a Field to java.lang.Object


Sorry that it took me so long to verify your Answer.
I must have fucked something up with other chances I made to the code.
But I tried it on a "virgin" Version of gcc-4.5.2 and there it worked.

> Add it to libjava/java/langObject.h
> and gcc/java/class.c in make_class_data() after sync_info.
It is also necessary to update the gcc/java/decl.c in Function
java_init_decl_processing.
The Position is easy to find, it is the only occurrence of sync_info. I
just added my PUSH_FIELD after the sync_info PUSH_FIELD.


Thanks for your Help!


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