summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/CodeCacheCreate_test.cpp
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2020-05-26 15:47:21 +0100
committerVladimir Marko <vmarko@google.com>2020-05-27 13:09:07 +0000
commit0fb9ae803c8f365a366a6a9cc81ff4c9e1153fda (patch)
tree8aa0d78b1805bc25ef28c26c9a231c9731a36b97 /libnativebridge/tests/CodeCacheCreate_test.cpp
parentd21ecf68035305b36e6129f85a5088a57a31e549 (diff)
Throw ClassFormatError for unsupported default methods.
Fix DCHECK() failure for copied native default methods. For dex file version 37+ we reject the dex file. For older versions, throw the ClassFormatError like the RI. (cherry picked from commit adf0f2e55c285f3fbe0a70c218a8f267029e736c) Test: 180-native-default-method. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots. Bug: 157170505 Merged-In: I5d2aefdcbf0b807c1cb482d0fda2e77316783cb4 Change-Id: I4fb0dddafebbd08f0fe63ce7e4ceb19ad750b36f
Diffstat (limited to 'libnativebridge/tests/CodeCacheCreate_test.cpp')
0 files changed, 0 insertions, 0 deletions