summaryrefslogtreecommitdiff
path: root/test/180-native-default-method/src/Main.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert^2 "Throw ClassFormatError for unsupported default methods."Vladimir Marko2020-05-291-0/+32
| | | | | | | | | | | | | | | | | | This reverts commit 09261a8c5cd36a8c7a1ae5107da554dd35008b97. Fixed redefine-stress failures. Worked around CTS failures by reducing the cases where we throw the ClassFormatError. Test: 180-native-default-method. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots. Test: testrunner.py --host --optimizing --redefine-stress \ --debug --debugggable --cdex-fast Test: cts-tradefed run cts --m vm-tests-tf Bug: 157170505 Bug: 157718952 Change-Id: I95264af9041836fd6bc54e85263e2a405e877d30
* Revert "Throw ClassFormatError for unsupported default methods."Nicolas Geoffray2020-05-281-32/+0
| | | | | | | | | | | This reverts commit adf0f2e55c285f3fbe0a70c218a8f267029e736c. Bug: 157170505 Bug: 157575227 Reason for revert: b/157575227 Change-Id: Ibc0aa5505a59deed717555441a9723b5b6561115
* Throw ClassFormatError for unsupported default methods.Vladimir Marko2020-05-271-0/+32
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. Test: 180-native-default-method. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots. Bug: 157170505 Change-Id: I5d2aefdcbf0b807c1cb482d0fda2e77316783cb4