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