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.

Bug 103623

Summary: Unable to add comment to empty body
Product: java Reporter: Pavel Flaska <pflaska>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: RESOLVED FIXED    
Severity: blocker CC: err, jiriprox, mpetras
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 98522, 144209    

Description Pavel Flaska 2007-05-10 10:12:46 UTC
There is no way how to add just comments to method body through current API.
Current comments are always related to statements.
Comment 1 Pavel Flaska 2007-06-25 11:25:28 UTC
*** Issue 106708 has been marked as a duplicate of this issue. ***
Comment 2 _ deva 2007-10-31 18:52:01 UTC
*** Issue 98522 has been marked as a duplicate of this issue. ***
Comment 3 Pavel Flaska 2007-10-31 19:07:22 UTC
I cannot do anything with it for the current release. I still have bugs considered more important... I'm sorry.
Comment 4 Jan Pokorsky 2008-08-21 18:20:59 UTC
Standalone comments are also not copied with Trees. See issue 144209.
Comment 5 err 2008-08-21 22:12:42 UTC
Lost comments in issue 144209, which this issue blocks, is considered P2
Comment 6 Rastislav Komara 2009-02-03 10:52:18 UTC
Overtake.
Comment 7 Jiri Prox 2009-06-04 10:05:35 UTC
*** Issue 166423 has been marked as a duplicate of this issue. ***
Comment 8 Rastislav Komara 2009-08-19 10:00:47 UTC
jet-main #b88fb5861550
Comment 9 Quality Engineering 2009-08-21 06:05:06 UTC
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b88fb5861550
User: Rastislav Komara <moonko@netbeans.org>
Log: Fixing issues: #103623, #154393, #146519: improvement in comments manipulation and comments printing.