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: | Line comments are lost when introducing method | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dkonecny, hof, pjiricka, szumowski |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 175020 | ||
Bug Blocks: |
Description
Jiri Prox
2009-08-11 15:35:05 UTC
Reassigning all moonko's java/source bugs to myself. *** Issue 172066 has been marked as a duplicate of this issue. *** The part in java.hints was quite simple: http://hg.netbeans.org/main-silver?cmd=changeset;node=6164f16b62a7 but it also required non-trivial changes in codegen: http://hg.netbeans.org/main-silver?cmd=changeset;node=a9711e857d8b As a consequence, comments handling in codegen may be less forgiving - some clients that did not do importComments/copyComments so far might need to do that now, etc. This especially relates to clients that add/remove statements to method bodies. David, Petr, if you see any suspicious problems regarding Java code generation and comments, please, let me know, I will look at them. Thanks. Integrated into 'main-golden', will be available in build *200910280201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6164f16b62a7 User: Jan Lahoda <jlahoda@netbeans.org> Log: #170213(first part): introduce method should correctly copy comments. |