Bug 94053 - [javadoc] Unknown references are not warned for string or href in @see/@link tags
Summary: [javadoc] Unknown references are not warned for string or href in @see/@link ...
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 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 05:52 EDT by Frederic Fusier CLA
Modified: 2005-05-12 13:15 EDT (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 2005-05-08 05:52:31 EDT
Using HEAD.

javadoc.exe warns 2 warnings on on unknown references in following example
although our compiler does not:
public class X {
	/**
	 *	@see Unknown <a href=\"http://www.eclipse.org\">Eclipse</a>
	 */
	void foo1() {}
	/**
	 *	@see Unknown "Valid string reference"
	 */
	void foo2() {}
}

This is was a side effect of bug 69302.
Comment 1 Frederic Fusier CLA 2005-05-09 12:04:27 EDT
Fixed and released in HEAD.

Now unknown references are warned even when masked by href or string references
(as javadoc.exe does).

[jdt-core-internal]
Changes done in AbstractCommentParser:
  - modify parseReference()
  - add readTokenSafely()

Existing test cases modified in JavaBugsTest
Comment 2 Maxime Daniel CLA 2005-05-12 13:12:05 EDT
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD-20050512.