This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Semicolon inserted at wrong position | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Source | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alied, jpokorsky, msauer, stingh711, wvreeven |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Prox
2009-11-26 04:03:29 UTC
Honzo, please have a look, thanks. A sample that uses only standard classes: Runnable r = null; ((CharSequence) r). String str = ""; The trees are pretty broken in this case ('String' is a name in member select '((CharSequence) r).String', and assignment 'str = "";'). Probably simplest would be to change the CC to handle these broken trees more gracefully (alternatively, the error recovery could be improved, but that could be quite difficult). *** Bug 189399 has been marked as a duplicate of this bug. *** *** Bug 190442 has been marked as a duplicate of this bug. *** *** Bug 196614 has been marked as a duplicate of this bug. *** Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/0a374763a147 *** Bug 196752 has been marked as a duplicate of this bug. *** Integrated into 'main-golden', will be available in build *201103220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0a374763a147 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #177657: Semicolon inserted at wrong position - fixed. |