Bug 118092

Summary: [javadoc][assist] Eclipse hangs on code assist when writing ¸<c
Product: [Eclipse Project] JDT Reporter: Pascal Filion <pascal.filion>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Pascal Filion CLA 2005-11-25 13:07:11 EST
Build: Eclipse SDK 3.2M3 - I20051102-1600

Steps to reproduce:
1. In a Java File, create the JavaDoc for a method.
2. Write the following: ¸<c where ¸ is the cedilla.
2. Do CTRL-SPACE

Result:
Eclipse hangs and uses 100% of the CPU.

Example:
public class Test
{
   /**
    * ¸<c[CTRL-SPACE here]
    */
   public void method()
   {
   }
}
Comment 1 Martin Aeschlimann CLA 2005-12-01 10:29:51 EST
Maybe this releated to bug 118105. Frederic?
Comment 2 Frederic Fusier CLA 2005-12-01 11:10:57 EST
It not really a duplicate of bug 118105. I would say that this bug was typically a symptom of potential issue described in bug 114115.

Note that bug 114115 was not fixed (WONTFIX) but several changes have been made in CompletionJavadocParser since then to avoid this kind of freeze. I've verified with last integration build that completion works properly on this syntax.
Comment 3 Frederic Fusier CLA 2005-12-01 11:32:18 EST
Consider as FIXED due to the fact that code have been changed in this area to address this kind of issue.

I have added a test case to cover this syntax in JavadocBugsCompletionModelTest
Comment 4 Pascal Filion CLA 2005-12-02 08:56:23 EST
Thanks for the fix, I tested it in build 3.2.0 N20051201-0010.
Comment 5 Jerome Lanneluc CLA 2005-12-13 11:28:25 EST
Verified for 3.2 M4 using build I20051213-0010