Community
Participate
Working Groups
Using HEAD. With following test case: public class X { void foo() { char[][][] array = new char[][][10]; } } I get an NPE in ProblemReporter.incorrectLocationForEmptyDimension() and uncloseable Error dialog: "Problem during AST creation"... I know this invalid but after having writing this and save file, I'm completely unable to use it due to the error dialog always opening... Close/open file has no effect (of course). I was obliged to modify the file using notepad to remve the invalid code => set severity to critical
Created attachment 16493 [details] This patch seems to fix the problem...
Patch is not optimal. I am working on it. Thanks for providing a good test case.
Fixed and released in HEAD. Regression test added in ArrayTest.
Verified for 3.1 M4 using build I200412142000.
*** Bug 85106 has been marked as a duplicate of this bug. ***