Community
Participate
Working Groups
20040128 In the first code (a) 'Exception' in the Javdoc has a binding. If you add the {@link Exception} as first line (b), neither the 'Exception' in link nor the one in the see have one. If you add it after the see (c), then it they have it both (a) public class AA { /** * @see Exception */ public void foo() { } } (b) public class AA { /** * {@link Exception} * @see Exception */ public void foo() { } } (c) public class AA { /** * @see Exception {@link Exception} */ public void foo() { } }
Fixed. Problem comes from the fact that first javadoc text was an inline tag. Change AbstractCommentParser.parse(int,int): verify that text start and end positions are correct before pushing text in stack... Test case added in jdt.core.tests.dom.ASTConverterJavadocTest
Martin, I cannot send a jdtcore.jar patch from home as Notes server is down, but I've versionned this fix in HEAD stream, tag: v_400a
Verified for 3.0M7