Bug 81513 - [javadoc] Invalid @see references are not flagged in some source files
Summary: [javadoc] Invalid @see references are not flagged in some source files
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 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 09:02 EST by Frederic Fusier CLA
Modified: 2005-02-14 11:31 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-17 09:02:11 EST
Using build I200412162000.

Edit Component.java file of JDK 1.5 sources.
Go on peer field Javadoc and modify @see references to make them invalid:
no warning is displayed.

I would expect error: "javadoc: xxx cannot be resolved or is not a field."
Comment 1 Frederic Fusier CLA 2004-12-17 09:04:15 EST
Due to NPE in JavadocParser createFieldReference(Object) or
createMethodReference(Object) methods...

As exceptions are globally catched in
AbstractCommentParser.commentParse(int,int) this error is not known by user and
not logged.
Comment 2 Frederic Fusier CLA 2004-12-20 06:16:23 EST
Fixed.

This problem was really difficult to reproduce and then, unfortunatley, I was
not able to find a test case to verify it.

However, I think modifications applied in JavadocParser methods (see comment 1),
is enough to insure that it will never happen again...
Comment 3 David Audel CLA 2005-02-14 11:31:17 EST
Verified for 3.1M5