diff --git a/dexlib/src/main/java/org/jf/dexlib/Code/Format/SparseSwitchDataPseudoInstruction.java b/dexlib/src/main/java/org/jf/dexlib/Code/Format/SparseSwitchDataPseudoInstruction.java index 04158a98..822c54fd 100644 --- a/dexlib/src/main/java/org/jf/dexlib/Code/Format/SparseSwitchDataPseudoInstruction.java +++ b/dexlib/src/main/java/org/jf/dexlib/Code/Format/SparseSwitchDataPseudoInstruction.java @@ -107,7 +107,7 @@ public class SparseSwitchDataPseudoInstruction extends Instruction implements Mu for (int i = 1; i < keys.length; i++) { key = keys[i]; - assert key <= keys[i - 1]; + assert key >= keys[i - 1]; out.writeInt(key); }