Fix ClassCastException

master
Graham 5 years ago
parent 1af803ff00
commit b4c0865d7d
  1. 2
      src/main/java/org/apache/harmony/pack200/ClassBands.java

@ -1031,7 +1031,7 @@ public class ClassBands extends BandSet {
if(latestCodeFlag == (1 << 2) && latestLocalVariableTableN == 0) { if(latestCodeFlag == (1 << 2) && latestLocalVariableTableN == 0) {
codeLocalVariableTableN.remove(codeLocalVariableTableN.size() - 1); codeLocalVariableTableN.remove(codeLocalVariableTableN.size() - 1);
codeFlags.remove(codeFlags.size() - 1); codeFlags.remove(codeFlags.size() - 1);
codeFlags.add(new Integer(0)); codeFlags.add(new Long(0));
} }
} }
} }

Loading…
Cancel
Save