Summary: | [1.4] 1.5 power double causes compiler internal failure | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 3.1 | ||
Target Milestone: | 3.1 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2005-02-25 07:00:52 EST
Scanner should have rejected this invalid hex. Added ScannerTest#test026. Scanner#scanNumber(...) { ... } else if (getNextChar('.')) { if (this.sourceLevel < ClassFileConstants.JDK1_5) { + if (end == start) { + throw new InvalidInputException(INVALID_HEXA); + } this.currentPosition = end; return TokenNameIntegerLiteral; } } Fixed, also upgraded PublicScanner. Olivier - pls double check Verified in I20050330-0500 |