Fix jvmti bug when redefining a boot classpath class.

We were not using the right dex cache when registering the new dex file.

Test: test.py
Bug: 218984107
Change-Id: I43c581b46b4624ca9b1430dfe6164a04cb4089a1
3 files changed