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 - Unable to add comment to empty body
Summary: Unable to add comment to empty body
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
: 98522 106708 166423 (view as bug list)
Depends on:
Blocks: 98522 144209
  Show dependency tree
Reported: 2007-05-10 10:12 UTC by Pavel Flaska
Modified: 2009-08-21 06:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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
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 (upload may still be in progress)
User: Rastislav Komara <>
Log: Fixing issues: #103623, #154393, #146519: improvement in comments manipulation and comments printing.