Bug 94053

Summary: [javadoc] Unknown references are not warned for string or href in @see/@link tags
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.