------- Additional Comments From rmathew at gcc dot gnu dot org 2005-05-23 07:45 ------- outer_field_access_p(), build_outer_field_access(), etc. are only for non-static fields (instance variables). Even for some simple testcases, I could not get GCJ to emit correct bytecode for non-static instance variables. Lastly these methods are for access from inside a nested class to a private member in a containing class, not the other way round as given in the testcase for this PR.
So a significant surgery is indeed needed to make these cases work with GCJ. If anyone is working on a patch to fix this, I would certainly like to hear from them - I have a partially working patch, but I don't know if I'd be able to finish it given the lack of skills as well as time on my part. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |rmathew at gcc dot gnu dot | |org Last reconfirmed|2005-05-12 16:53:53 |2005-05-23 07:45:49 date| | Summary|gcj -C doesn't generate |gcj -C doesn't generate |accessors for private |accessors for private |members in inner class |members across nested class | |boundaries http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19870