Community
Participate
Working Groups
e.g public class Test { public void method() { /** * not javadoc comment */ System.out.println("println"); class Local { } } } Eclipse AST will consider the "/**" as the javadoc of the local class "Local", but I think it is incorrect, since there have a println statement separate the node.
What build are you using?
i am using eclipse 3.0 build 200406251208, but my JDT plugin is still using 2.1.3
Reproduced in 3.1. I am investigating it.
Frederic, could you please have a look at this?
You can activate the test org.eclipse.jdt.core.tests.dom.ASTConverterTest2._test0572() when this problem is fixed.
ok, thanks
The test is now: org.eclipse.jdt.core.tests.dom.ASTConverterTest2._test0569(). I removed intermediate tests relative to the DOM Parser.
Obsolete comments are not discarded in Parser.checkComment()...
Fixed. Now no javadoc is attached to local class in this peculiar case. [jdt-core-internal] Change done in method checkComment() of Parser, CommentRecorderParser and SourceElementParser. Test case STConverterTest2.test0569() activated
Verified for 3.1M3 with build I20041102