lin
2025-07-31 065ea569db06206874bbfa18eb25ff6121aec09b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Smali-based tests for experimental interface default methods.
 
This tests that interface method resolution order is correct in the presence of
partial compilation/illegal invokes.
 
Obviously needs to run under ART or a Java 8 Language runtime and compiler.
 
When run smali test files are generated by the util-src/generate_smali.py
script.  If we run with --jvm we will use the util-src/generate_java.py script
will generate equivalent java code based on the smali code.
 
Care should be taken when updating the generate_smali.py script. It should always
return equivalent output when run multiple times and the expected output should
be valid.
 
Do not modify the expected.txt file. It is generated on each run by
util-src/generate_smali.py.