Community
Participate
Working Groups
If I call the getJavadoc() method on a org.eclipse.jdt.core.dom.TypeDeclaration instance that does not have a Javadoc comment I don't get a null value back as indicated in the Javadoc for getJavadoc(). Instead I get the Javadoc for the first method within the type that has a Javadoc comment. For example, if I have the following code: public class Foo { /** * Method comment. */ public voif bar() {} } When I call getJavadoc() for class Foo I get back the comment "Method comment."
I just tested this same code with the v2.1 M% build and the bug appears to have been corrected in this build.
That should have been "M5", not "M%"
Good, closing then.
I don't think this bug should be closed. Eclipse v2.1 is not released yet and many products based on Eclipse will not be able to upgrade to 2.1 for some time yet. They will based on 2.0.x for the foreseeable future. This bug prevents a plug-in I'm working on from working at all. If this bug is not fixed in the 2.0.x maintenance stream my plug-in will not work.
Understood. It did not sound clear you actually wanted this fix for a 2.0.x codebase. Will see how it goes for addressing in a future release based on 2.0.x (too late for 2.0.3).
Can you backport this change to R2.0 dev stream ?
Duplicate of bug 23054. Backported to R2.0 dev stream. Regression test added in R2.0 dev stream. *** This bug has been marked as a duplicate of 23054 ***