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.
Product Version = NetBeans IDE 7.3.1 (Build 201306052037) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01 When two methods or interfaces exists both with javadoc and the first with the deprecated attribute, the deprecated attribute is passed to the second method or variable when the first one is commented with //
Can you please provide sample of code or screenshot? Thanks
Here is a simple example. package mypackage; public class DeprecatedExample { /** * first variable * @deprecated */ public int first; /** * second variable */ public int second; } when changed to: public class DeprecatedExample { /** * first variable * @deprecated */ // public int first; /** * second variable */ public int second; } marks second as deprecated, at least in my version of netbeans. I found this when porting c code to java, i.e. ffmpeg. I could not find ffmpeg in java on the internet, does it exist?
Thanks, I can reproduce it in current dev build as well