blob: 7dba1133d1e2f2ab0f53a247e67b30df71ae0b77 [file] [log] [blame]
This is a test checking the modifier (access flags) handling of ART.
The classes are pre-compiled and modified with ASM.
To reproduce, compile the source files. Asm.java needs the ASM libraries (core and tree). Then
run Asm.java, which produces Inf.out and NonInf.out. Rename these to class files and put them
into the classes directory (this assumes the ASM libraries are names asm.jar and asm-tree.jar).
Finally, compile with jack/jill or dx, and run baksmali.
javac Inf.java NonInf.java Main.java
javac -cp asm.jar:asm-tree.jar:. Asm.java
java -cp asm.jar:asm-tree.jar:. Asm
mv Inf.out classes_tmp/Inf.class
mv NonInf.out classes_tmp/NonInf.class
mv Main.class A.class A\$B.class A\$C.class classes_tmp/
dx --debug --dex --output=classes.dex classes
baksmali disassemble classes.dex
mv out/*.smali smali/