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: | [Inner To Outer] Inner class comments lost | ||
---|---|---|---|
Product: | java | Reporter: | err <err> |
Component: | Source | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 103623 | ||
Bug Blocks: | 100829 |
Description
err
2008-08-17 20:05:49 UTC
This is serious bug -> P2 I will take a look what's wrong. The refactoring uses GeneratorUtilities.importComments() (issue 100829) that seems to work properly. In debugger, I found that Trees that are copied to a new compilation unit has another identity thus the comment mapping fails in VeryPretty. I am trying to fix this in java/source module. Reassigning to java. BTW it seems to never work even in NB 6.1. fixed as http://hg.netbeans.org/main/rev/a134ca8457bd The issue of lost standalone comments (e.g. //Outer.refresh();) still remains. It is tracked as issue 103623. Integrated into 'main-golden', available in build *200808220201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/a134ca8457bd User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #144209: fixing lost comments of copied Trees *** Issue 147309 has been marked as a duplicate of this issue. *** Integrated into 'main-golden', will be available in build *201101220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/51aa6472eeef User: Jan Lahoda <jlahoda@netbeans.org> Log: Adding test for #144209. |