Bug 81513

Summary: [javadoc] Invalid @see references are not flagged in some source files
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 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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