Bug 118092 - [javadoc][assist] Eclipse hangs on code assist when writing ¸<c
Summary: [javadoc][assist] Eclipse hangs on code assist when writing ¸<c
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 13:07 EST by Pascal Filion CLA
Modified: 2005-12-13 11:28 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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