------- Comment #21 from aph at gcc dot gnu dot org 2005-11-16 17:20 ------- Accesses to static fields should be fixed already when compiling BC.
We generate a call to _Jv_ResolvePoolEntry(Class, int) for every static field reference, which resolves the target class and returns a pointer to the field. If, for some reason, we're resolving the field too soon, then that is a new bug -- it has worked before now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616