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.
Method and field javadoc comments in moved class are doubled when moving inner to outer level class: public static class Inner { /** * comment */ public void method() { } /** * comment */ public int x; } is changed to: public class Inner { /** * comment */ /** * comment */ public void method() { } /** * comment */ /** * comment */ public int x; } Product Version: NetBeans IDE 7.1 (Build 201112062100) Java: 1.7.0_02; Java HotSpot(TM) 64-Bit Server VM 22.0-b10 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\.netbeans\7.1 Cache directory: C:\Users\jprox\.netbeans\7.1\var\cache
Same root cause as bug #205525: as there are no comments for Inner, importComments does not mark it correctly with comments mapped mark, and copyComments then does the importComments again. Fixing #205525 will fix this too, but I have filed a new bug (#206200) to make importComments idempotent. The difference is that the fix for #205525 will be a good candidate for a patch fix, fix for #206200 probably won't. *** This bug has been marked as a duplicate of bug 205525 ***
*** Bug 206325 has been marked as a duplicate of this bug. ***
v.