Community
Participate
Working Groups
Build I20040120 + jdtcore.jar of I20040127... Let's have following javadoc comment: /** * @see String Standard class for string */ Binding resolution fails (return null) on String which should be obviously bound! Note that in following case /** * @see X#x Instance variable of class X */ the binding is found
Problem comes from the loop while resolving entire javadoc in ASTConverter.convert(org.eclipse.jdt.internal.compiler.ast.Javadoc). Types references are Name DOM AST nodes instead of MemberRef as initially designed. When kind of nodes were changed, the loop executed while javadoc resolved was not updated...
Fixed. Now, when resolve bindings is active while converting Javadoc, we record nodes also for Name fragments. Fix existing test case testJ00 of jdt.core.tests.dom.ASTConverterJavadocTest which should have had to detect this problem...
Verified for 3.0M7