[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred

aph at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 16 17:20:00 GMT 2005



------- 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



More information about the Java-prs mailing list