Handle unresolved field type in compiler.

Make behavior consistent with interpreter, by only resolving field types
when the stored value is not null.

Note that this differs from RI behavior which throws a
NoClassDefFoundError when loading the BadField class.

Bug: 79751666

Test: 173-missing-field-type
Change-Id: I1e584f3129fd651bee1c9635c90bc30e13190a90
6 files changed