| Summary: | StackOverflowError in DocumentUtil | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Moritz Eysholdt <moritz.eysholdt> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | b.kolb, sebastian.zarnekow |
| Version: | 2.0.1 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Moritz Eysholdt
Hi Moritz, please provide an input model + cursor position that reproduces the issue. *** Bug 357203 has been marked as a duplicate of this bug. *** I tried various combinations of comments that immediatly followed each other, were at the beginning of the file or at the end. Could you please provide a reproducable example? It took me a while to "reverse engineer" this bug's required state... but I found it:
1. create an .xtend file
----
class bar {
/* ! /**/
}
----
2. Locate the cursor behind the exclamation mark
3. Press enter
4. Watch the stack flow over.
(In reply to comment #4) > It took me a while to "reverse engineer" this bug's required state... but I > found it Great! Do you have the time to look into this? fixed. pushed to master. please review: http://git.eclipse.org/c/tmf/org.eclipse.xtext.git/commit/?id=33c8f6f69bb7c2db672635051177a766c24684f7 added test case: org.eclipse.xtext.ui.junit.editor.autoedit.AbstractCStyleLanguageAutoEditTest.testBug358555() Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |