Bug 53279

Summary: [Javadoc] Compiler should complain when inline tag is not terminated
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.0   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Frederic Fusier CLA 2004-02-27 09:10:18 EST
Build I20040226.

Compiler does not complain on following invalid syntax in inline tag in Javadoc 
comment:
/**
 * Note: this id is for internal use only.
 * @deprecated see {@link #GOTO_NEXT_ANNOTATION
 */
public static final String SHOW_NEXT_PROBLEM;

DOM/AST Javadoc is built correctly but compiler should warn user that he 
forgets the closing brace at the end of tag declaration.
Comment 1 Frederic Fusier CLA 2004-05-11 05:38:09 EDT
Fixed.

Now compiler warns user that inline tag is missing closing brace.

[jdt-core-internal]
Changes made in parseComment(int,int) of AbstractCommentParser: each time a '@',
an opening brace or end of comment is encountered altough we're in an inline
tag, we report an error and artifically close the inline tag the same way if we
would have encountered a closing brace.
Add a new message in this case: "Javadoc: Missing closing brace for inline tag"
Test cases added in JavadocTestMixed
Comment 2 Olivier Thomann CLA 2004-05-18 11:54:25 EDT
Verified in 200405180816