@@ -0,0 +1,2306 @@
+package com.googlecode.dex2jar.test;%0A%0Aimport static com.googlecode.dex2jar.DexOpcodes.*;%0A%0Aimport org.junit.Test;%0Aimport org.objectweb.asm.ClassReader;%0Aimport org.objectweb.asm.ClassWriter;%0Aimport org.objectweb.asm.Opcodes;%0Aimport org.objectweb.asm.tree.analysis.AnalyzerException;%0A%0Aimport com.googlecode.dex2jar.Method;%0Aimport com.googlecode.dex2jar.v3.V3;%0Aimport com.googlecode.dex2jar.v3.V3MethodAdapter;%0Aimport com.googlecode.dex2jar.visitors.DexClassVisitor;%0Aimport com.googlecode.dex2jar.visitors.DexCodeVisitor;%0Aimport com.googlecode.dex2jar.visitors.DexMethodVisitor;%0Aimport com.googlecode.dex2jar.visitors.EmptyVisitor;%0A%0Apublic class I120Test %7B%0A%0A    public static void a(DexClassVisitor cv) %7B%0A        DexMethodVisitor mv = cv.visitMethod(ACC_PUBLIC %7C ACC_STATIC, new Method(%22La;%22, %22b%22, new String%5B%5D %7B%7D, %22V%22));%0A        DexCodeVisitor code = mv.visitCode();%0A        code.visitArguments(3, new int%5B%5D %7B%7D);%0A        code.visitConstStmt(OP_CONST, 0, Integer.valueOf(0), TYPE_SINGLE); // int: 0xffffffff float:NaN%0A        code.visitMethodStmt(OP_INVOKE_VIRTUAL, new int%5B%5D %7B 0 %7D, new Method(%22Ljava/lang/String;%22, %22toString%22,%0A                new String%5B%5D %7B%7D, %22Ljava/lang/String;%22));%0A        code.visitConstStmt(OP_CONST, 1, Integer.valueOf(0), TYPE_SINGLE); // int: 0xffffffff float:NaN%0A        code.visitUnopStmt(OP_ARRAY_LENGTH, 2, 1, TYPE_INT);%0A        code.visitReturnStmt(OP_RETURN_VOID);%0A        code.visitEnd();%0A        mv.visitEnd();%0A    %7D%0A%0A    @Test%0A    public void test() throws IllegalArgumentException, IllegalAccessException, AnalyzerException %7B%0A        final ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS);%0A        cw.visit(Opcodes.V1_6, Opcodes.ACC_PUBLIC, %22Lt%22, null, %22java/lang/Object%22, null);%0A        a(new EmptyVisitor() %7B%0A            @Override%0A            public DexMethodVisitor visitMethod(int accessFlags, Method method) %7B%0A                return new V3MethodAdapter(accessFlags, method, null, V3.OPTIMIZE_SYNCHRONIZED %7C V3.TOPOLOGICAL_SORT) %7B%0A%0A                    @Override%0A                    public void visitEnd() %7B%0A                        super.visitEnd();%0A                        methodNode.accept(cw);%0A                    %7D%0A                %7D;%0A            %7D%0A        %7D);%0A        ClassReader cr = new ClassReader(cw.toByteArray());%0A        TestUtils.verify(cr);%0A    %7D%0A%7D%0A

add test case for issue 120