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.
Let have method with empty javadoc comment like this: /** * */ void method (int num) { .... } Via Javadoc property editor or Auto Comment tool insert comment for the num parameter only i.e. @param tag only. Description for this tag must be at least on two lines. After that you got something similar: /** * @param num first_line_of_comment * second_line */ * void method (int num) { ...... It is uncompilable.
Only changed version to Development.
Version: 'Dev' -> 3.2
After discussion with Svata it looks that the problem is in his module. The AutoComment returns most probably comments with CRLF and this is not handled correctly in Java module. If inserted comment has much more than two lines the behaviour is even worse - some characters after the JavaDoc comment are simply overwritten.
*PLEASE* do NOT use system dependent line separators, if you don't have to. There are numerous places within the IDE that do their own parsing/analysis and the more or less suppose that lines are separated by \n
Fixed in 3.2 & dev
*** Issue 6568 has been marked as a duplicate of this issue. ***
Target milestone -> 3.2
Bug seems to be fixed. Please verify.
Resolved for 3.3.x or earlier, no new info since then -> closing.