Summary: | Parse error while typing in Java editor | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jared Burns <jared_burns> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M3 | ||
Hardware: | Other | ||
OS: | Linux-Motif | ||
Whiteboard: |
Description
Jared Burns
2002-02-05 10:50:19 EST
Actually, it's happening quite a lot and I don't even need to type anything to make it occur. If I just click around in my editor I get this exception every few clicks. A little more info: I was adding API to an interface (IJavaBreakpoint), when this started happening. I'd pasted the following code into the editor from the Bug report I was working on so that I could read it as I added the appropriate method declarations. When I finished the declarations and commented out this text, the problem went away: "- public void addThreadFilter(IJavaThread thread) - restricts breakpoint to given thread and any other previously specified threads - public void removeThreadFilter(IJavaThread thread)- removes the given thread restriction (will need to re-create breakpoint request as JDI does not support the removal of thread filters) - public IJavaThread[] getThreadFilters() - return the set of threads this breakpoint is currently restricted to" With this text in the editor (uncommented), I kept receiving the exception above. It turns out that I didn't have to do anything at all. Just having the editor open would cause the exception to be thrown occasionally. I was also unable to save the editor while this text remained. Fixed, was mistaken by the "(will need" which got parsed and recovered as a method argument. |