Bug 80910 - [javadoc] Invalid missing reference warning on @see or @link tags
Summary: [javadoc] Invalid missing reference warning on @see or @link tags
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 05:01 EST by Frederic Fusier CLA
Modified: 2004-12-14 12:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2004-12-14 05:01:32 EST
Using HEAD.

Following test case report an invalid missing reference on @see tag:
public class Test {
	int field;

	/**
	 * @param key's toto
	 * @see #field
	 */
	public void foo(int x) {
	}
}
Comment 1 Frederic Fusier CLA 2004-12-14 05:04:05 EST
Side effect of bug 70891. Parse of param sets scanner to tokenize white spaces,
but unfortunately does not unset it when InvalidInputException happens while
reading tokens...
Comment 2 Frederic Fusier CLA 2004-12-14 07:16:05 EST
Fixed.

Now compiler warns about invalid parameter name in @param tag.

[jdt-core-internal]
Changes done in AbstractCommentParser.parseParam().
Test case added: JavadocTestMixed#testBug80910()
Comment 3 Olivier Thomann CLA 2004-12-14 12:02:05 EST
Verified in 200412140800