diff options
author | Orion Hodson <oth@google.com> | 2019-11-12 18:44:47 +0000 |
---|---|---|
committer | Orion Hodson <oth@google.com> | 2019-12-09 10:23:58 +0000 |
commit | 2fdb0f3eecc1abf7e26ca5b410e07bf742f48457 (patch) | |
tree | 146500b51469de422301ab9bfcb1f6c4d7f01a55 /ojluni/annotations/hiddenapi/java/lang/Object.java | |
parent | 06620d5308621889a296943c0a2029e6e5cb8d42 (diff) |
Fix MethodHandles.explicitCastArguments for transforms
Fixes incorrectly handled paths in ExplicitCastArguments transform.
Update MethodHandles.explicitCaseArguments() to use an
ExplicitCastArguments transform if the call requires asType()
conversion. We could have introduced another transform, but that's
more code and before inserting the transform the code checks the
explicit cast is equivalent to asType().
The transformer path had issues because StackFrame{Reader,Writer}
classes do not perform asType() conversions as they read and write
stack frame locations.
Bug: 113855305
Test: art/test/testrunner.py --host --64
Test: art/tools/run-libcore-tests.sh --host
Change-Id: I712bcf5a55f1f7c091af5daddeb3f8a5b7b5b4d3
Diffstat (limited to 'ojluni/annotations/hiddenapi/java/lang/Object.java')
0 files changed, 0 insertions, 0 deletions