summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2019-07-10 14:09:51 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-07-15 17:52:47 +0000
commitbc919af448aef9e8043e56ca83a2aa4ff90b9ad6 (patch)
tree904105c3bd20d6ee9af1fbfcda19f1eaa7ffc42d /compiler/driver/compiler_options.cc
parentd78122b424c1be24f7e9ac7983af3f43e9d4e294 (diff)
ART: Disallow unresolved return types after Q
For apps targeting future releases, do not allow type mismatches involving unresolved types. The behavior complicates the verifier and the runtime and does not conform to regular expected behavior. Historically this has been done for app compatibility when non-native multidex was a thing. In that situation, even at runtime when an "early" class is being verified a type might not be available because it is supplied by a later injected dex file. Classloader manipulations in this way are no longer supported. Classes have to be available at verification time to not fail the class. Bug: 121245951 Test: m test-art-host Change-Id: I9608c79183be7b85b76892498d6a7007a29f2434
Diffstat (limited to 'compiler/driver/compiler_options.cc')
0 files changed, 0 insertions, 0 deletions