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.
Created attachment 155734 [details] Test.java Product Version: NetBeans IDE Dev (Build 201508280002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) I am not sure whether is it the java|Javadoc or editor|Code folding issue. However.. --Use Case-- 1. Open attached Test.java 2. Analyze Javadoc for the class 3. Inside the Analyzer tab panel check the entire 'Test.java' and hit 'Fix Selected' --Actual Result-- The <editor-fold> closing tag is duplicated at line 22 (please see the picture 'Duplicated closing tag'). My analyze showed that the issue does not occur when there is no empty line between the <editor-fold> closing tag and the doMeRightToo(int x) method declaration - line 18 in the original Test.java. This issue may have common reason with a reason of bug 254835.
Created attachment 155735 [details] Duplicated closing tag
reproducible
OK, troubles are caused by generating javadoc for the 2nd method. For some reason, the preceding line comment is duplicated.