Disable can_redefine_classes capability on 'Dalvik' hosts.
Runtimes with 'java.vm.name' == 'Dalvik' cannot support redefining
classes using the .class file format as the can_redefine_classes
capability is required to. Therefore we disable that capability and
enable the unused 'reserved32' capability to indicate to debuggers
that the agent is capable of redefining classes so long as the
redefinition is provided in the dex file format.
Test: mma
Test: ./art/tools/run-libjdwp-tests.sh --mode=host
Bug: 62821960
Change-Id: I98d0994282d71a3ed22e1d2e251f215607ecb6b0
1 file changed