Community
Participate
Working Groups
I20040930 + latest JDT Core Got an inifinite loop in DefaultCommentMapper#storeLeadingComments at line 321 while reconciling the attached file. The scanner's current position was after the source end.
Created attachment 15000 [details] File that was being reconciled
Problem comes from a wrong start position of comment stored in comments list. I'll investigate...
Seem to be a desynchronization during reconcile between comments list stored in CompilationUnit and source of unit CompilationResult. Don't know yet how this can happen!? We're trying to add some trace...
Not easily reproduceable... By the way, I'll add a protection to avoid this kind of problem in the future. Change done in DefaultCommentMapper.storeLeadingComments(ASTNode,int).
*** Bug 75646 has been marked as a duplicate of this bug. ***
Verified for 3.1M3 with build I20041101