Make the class's field array never null.

Use a 0-length array for classes that don't have field. This removes the
null check when trying to find a field.

Test: test.py
Flag: EXEMPT refactoring
Change-Id: I1127462e988cff95615cd673a7614dd31323a113
7 files changed