[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 17 13:46:00 GMT 2005
------- Comment #23 from aph at gcc dot gnu dot org 2005-11-17 13:46 -------
mm, I was wrong about static fields.
The problem is that a JV_CONSTANT_Fieldref constant pool entry points to a
JV_CONSTANT_Class, and at the present time we attempt to resolve that
JV_CONSTANT_Class reference at link time rather than at runtime.
If we had used a JV_CONSTANT_String instead of a JV_CONSTANT_Class to represent
a class in a JV_CONSTANT_Fieldref this would have worked. Oh well.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616
More information about the Java-prs
mailing list