1This is a test checking the modifier (access flags) handling of ART. 2 3The classes are pre-compiled and modified with ASM. 4 5To reproduce, compile the source files. Asm.java needs the ASM libraries (core and tree). Then 6run Asm.java, which produces Inf.out and NonInf.out. Rename these to class files and put them 7into the classes directory (this assumes the ASM libraries are names asm.jar and asm-tree.jar). 8Finally, compile with jack/jill or dx, and run baksmali. 9 10javac Inf.java NonInf.java Main.java 11javac -cp asm.jar:asm-tree.jar:. Asm.java 12java -cp asm.jar:asm-tree.jar:. Asm 13mv Inf.out classes_tmp/Inf.class 14mv NonInf.out classes_tmp/NonInf.class 15mv Main.class A.class A\$B.class A\$C.class classes_tmp/ 16dx --debug --dex --output=classes.dex classes 17baksmali disassemble classes.dex 18mv out/*.smali smali/ 19