Summary: | ArrayIndexOutOfBoundsException with float literal | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
David Audel
2004-09-24 05:06:12 EDT
The problem seems to be inside Scanner. For "0x" scanNumber() return an IntegerLiteral instead of throw an InvalidInputException(INVALID_HEXA). The problem occurs in any compliance mode (i.e. not only in 1.5 mode); and was introduced by adding support for hex float literals. This scenario breaks our support in the scanner. Note: PublicScanner must be fixed in same way. Likely candidate for rebuilding M2 Fixed and test added ScannerTest test019()->test021() Verified using 200409240800 |