| Summary: | Orion frozen after a "special" COPY or TYPE operation(happens every time) | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | XinYi Jiang <xinyij> |
| Component: | JS Tools | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | curtis.windatt.public, steve_northover |
| Version: | 13.0 | ||
| Target Milestone: | 14.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
XinYi Jiang
Doesn't have to copy, just type "target.p", Orion will frozen. Excellent find! The JavaScript content assist signature parsing function is stuck in an infinite loop. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=0546b34d1dbebfdb0c7fe325c44d4d54763ffc12 Fixed in master with test case If there is a - in the parameter of a function, the signature will contain a -. When parsing the signature, if a dash is found we look ahead to see if it is an arrow ->. Problem was there is no else case for the lookahead check resulting in the while loop repeating infinitely. Great catch XinYi. Fixed |