Community
Participate
Working Groups
Try to format the test case from bug 99999. It doesn't work.
Created attachment 23102 [details] Corresponding regression test
Created attachment 23103 [details] Proposed fix It needs the fix for bug 99999.
+1 for RC3 Dani - would you vote for this one ?
How big is the risk to break other scenarios?
very low. All our formatter tests passed.
The bug is in decoding this: [1] in the code formatter. We wrongly consider this as dimensions. This leads the code formatter to format that part at the wrong moment and then it cannot find expected tokens afterwards. This is why it fails.
+1 for 3.1 RC3.
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests.test583
Verified using N20050616-0010 + JDT/Core HEAD