summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2020-03-25 10:10:34 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2020-03-25 22:48:43 +0000
commit584e5996608a263feb8fd4241b78a83501a46868 (patch)
tree006b0962f2e7a32985192e44399f0909d228831f /compiler/optimizing/instruction_builder.cc
parentc1ad13a45ca363f7b5044d66a48853403a993b33 (diff)
Don't include static or private methods with proxy construction.
java.lang.reflect.Proxy classes are meant to only proxy the interface methods of the classes they are proxying. Instead we were creating (invalid) class objects that contained any static or private methods the interfaces had in the proxies vtable. This can break assumptions about the layout of classes elsewhere in the runtime. Manually filter out any static/private methods any of the interfaces contain and not pass them down into the proxy class internals. Bug: 152339121 Test: ./art/test.py --host Change-Id: I11b86d50575262b47e9ce9626705cd7a9e2ccfc7
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions