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 246053 - Class javadoc comments disappears when adding getter and setters
Summary: Class javadoc comments disappears when adding getter and setters
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-28 10:58 UTC by crosati
Modified: 2014-07-28 12:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crosati 2014-07-28 10:58:35 UTC
Hi,

I have a class with some javadoc comments.
I manually add an instance field.
Then I invoke Insert Code... asking for getter and setter. I select my just-added field and press Generate.
Getter and setter code is created, but the class javadoc comments disappeared.

I've tried with other entries in the Insert Code.. action menu, and all produce the same problem.

Claudio Rosati

Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_11
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.11-b03
Comment 1 Dusan Balek 2014-07-28 12:37:26 UTC
Unfortunately, I cannot reproduce the problem using the current dev build. Could you please create a simple reproducible test case and attach it to the issue? Thanks.
Comment 2 Jiri Prox 2014-07-28 12:40:23 UTC
I cannot reproduce the problem as well even with 8.0 patch 2