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.
When calling method.setJavaDocText("some text") than the resulting code in Windows is (note the blank lines /** * some text */ .... It works fine in linux, though. The same error occurs if a JavaDoc object is first constructed from the text and then set using Method.setJavadoc. However, the problem doesn't occur if the javadoc is specified directly in the constructor (factory method) of Method.
I'm sorry, I cannot reproduce it. It works in the IDE (autocomment tool) and even in javacore unit tests. Please attach some test code showing, that setJavaDocText() does not work correctly.
I tried to reproduce it with the version that used to not work and it works now. So probably the bug got fixed in the meantime with some other fix.
Reorganization of java component