Community
Participate
Working Groups
20040318 In the following code, the comments /* a */ and /* b */ belong to 2 statements. /* a */ should bind to the first foo(), and /* b */ to the second. class A { private void foo() { foo();/* a */ foo(); /* b */ foo(); } }
Fixed. Comments now belong to only one statement: first foo() for /* a */ and second for /* b */. [jdt-core-internal] Changes done in DefaultCommentMapper. Test cases added in jdt.core.tests.dom.ASTConverterJavadocTest.
Verified in build I200403250800.