Bug 48070

Summary: [CodeAssist] ArrayIndexOutOfBoundsException in AssistParster
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description David Audel CLA 2003-12-04 10:50:59 EST
build 20031203
1) create X.java
public class X {
  void ba<cursor>r(){}
}
2) do ctrl+space
There is no completion (this is a correct behavior)

But an ArrayIndexOutOfBoundsException occured inside 
AssistParser#indexOfAssistIdentifier(). CompletionEngine#complete() catch this 
exception and return no completion.
This exception should not occur.
Comment 1 David Audel CLA 2003-12-08 09:49:54 EST
Fixed and test added (CompletionParserTest2#test0136)

Comment 2 David Audel CLA 2003-12-09 09:42:10 EST
Fixed and test added (CompletionParserTest2#test0136)
Comment 3 Frederic Fusier CLA 2003-12-16 07:10:11 EST
Verified with build I200312160010