I get this when running proguard 3.5 on my class, any ideas?
Runtime error while processing class file [P]
Exception in thread “main” java.lang.StackOverflowError
at proguard.optimize.evaluation.value.InstructionOffsetValue.generalize(InstructionOffsetValue.java:106)
at proguard.optimize.evaluation.value.InstructionOffsetValue.generalize(InstructionOffsetValue.java:159)
at proguard.optimize.evaluation.TracedStack$MutableValue.generalizeContainedValue(TracedStack.java:479)
at proguard.optimize.evaluation.TracedStack.consumerPop(TracedStack.java:445)
at proguard.optimize.evaluation.TracedStack.tracePop(TracedStack.java:431)
at proguard.optimize.evaluation.TracedStack.pop(TracedStack.java:228)
at proguard.optimize.evaluation.Stack.ipop(Stack.java:276)
at proguard.optimize.evaluation.Processor.visitBranchInstruction(Processor.java:761)
at proguard.classfile.instruction.BranchInstruction.accept(BranchInstruction.java:104)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:519)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:674)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:674)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:674)
at proguard.optimize.evaluation.PartialEvaluator.evaluateInstructionBlock(PartialEvaluator.java:674)
…
Edit: After running joga, the problem goes away. Unfortunately, I’m still at 10 KB, and not even done the AI yet. Time to start cutting, I guess.