commit | bc2d9e8197bc4e284960d0da3b50efbf6db488c9 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Sep 20 14:29:07 2018 -0700 |
committer | Alex Light <allight@google.com> | Thu Sep 20 14:29:07 2018 -0700 |
tree | 82e5d88a9494a338c6753bc6811c31ed7d69f2af | |
parent | cffbb6caea6fb2413b92566d436b48c24b6a8fa9 [diff] |
Lie about the value of java.version At runtime on android the 'java.version' property has the value '0'. Accurately reporting this value through the VirtualMachine.version function can cause some debugger clients to become confused. To fix this we will lie and return '8' instead in the function. Test: examine JDWP packets Test: ./art/tools/run-libjdwp-tests.sh --mode=host Bug: 116255327 Change-Id: I0cd188b9cb6b55b9a1509804bff79c3ba5995feb