Community
Participate
Working Groups
Build Identifier: 20090818-0235 in File eclipse-source/src/plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CaseStatement.java, method printStatement, in the return statement, I think there shall not have ";" appended. Reproducible: Always Steps to Reproduce: 1.source code.
Created attachment 178648 [details] Proposed fix Need to check that no test is impacted and also modified the break statement to display better.
Created attachment 178670 [details] Proposed fix + regression tests Updated all regression tests.
Released for 3.7M2. Updated existing regression tests.
Olivier, its not clear to me why the constructor for IntLiteral and its printExpression were removed here. I dont see any clear correlation to this bug as such. Were they removed because they are not used anywhere?
(In reply to comment #4) > Olivier, its not clear to me why the constructor for IntLiteral and its > printExpression were removed here. I dont see any clear correlation to this bug > as such. Were they removed because they are not used anywhere? Yes, we used to use this old constructor, but we don't anymore. So for clean up this I removed them.
Verified for 3.7M2 using code inspection.