Bug 48070 - [CodeAssist] ArrayIndexOutOfBoundsException in AssistParster
Summary: [CodeAssist] ArrayIndexOutOfBoundsException in AssistParster
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M6   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 10:50 EST by David Audel CLA
Modified: 2003-12-16 07:10 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 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