Fix race condition between walking a class and class loading when resolving a field.  This happens because fields are not resolved sequentially (statics are resolved from the beginning of the array, non-statics from the end). So the class walker may try to walk an unresolved field. Prevent this (and other potential similar problems) by adding a check that fld->type != 0 to the FIELD_RESOLVED() macro.
Fix race condition between walking a class and class loading when
resolving a field.  This happens because fields are not resolved
sequentially (statics are resolved from the beginning of the array,
non-statics from the end). So the class walker may try to walk an
unresolved field. Prevent this (and other potential similar problems)
by adding a check that fld->type != 0 to the FIELD_RESOLVED() macro.

kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe