Add a test and consistency checks in method / field resolution.

Always use the associated class loader of a dex cache.

Test: test.py
Bug: 199246839
Change-Id: Ib512126915cac4af229a5a206a8b4d9d73bdf02a
13 files changed