Community
Participate
Working Groups
Created attachment 240751 [details] Non-compiling test case The compiler fails with the following error: Internal compiler error: java.lang.IllegalArgumentException: info cannot be null at org.aspectj.org.eclipse.jdt.internal.compiler.codegen.StackMapFrame.addStackItem(StackMapFrame.java:81) I've isolated this problem and the reason it does not compile is because of primitive that's incremented inline in an if statement. This statement is contained into an case statement in a string switch. When extracting the increment outside the if statement it compiles well. Also when the switch statement switches on a primitive it compiles fine. I've attached my test code.
It also occurs when a primitive is incremented inline within the body of a while statement.