Summary: | [compiler] ArrayIndexOutOfBoundsException from parser when using Java editor | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Rafael Chaves <eclipse> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Rafael Chaves
2004-11-05 12:14:19 EST
I have a test case for this one. Thanks to Rafael. David, it blows up in the diagnose parser. I can give you the test case. I will send it to you by mail. Fixed and test added ASTConverterTestAST3_2#test0573() The bug is not inside diagnose parser but inside CompilationUnitResolver#resolve(). When bindings of a partial ast needed to be resolved there was no call to scanner.setSource() before parse a method body. So the source inside the scanner was not the correct source. Verified for 3.1 M4 using build I200412140800. |