Add a Field to java.lang.Object

Noah Heusser heussern@student.ethz.ch
Fri Jun 10 09:39:00 GMT 2011


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!


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /