Bug 53279 - [Javadoc] Compiler should complain when inline tag is not terminated
Summary: [Javadoc] Compiler should complain when inline tag is not terminated
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 09:10 EST by Frederic Fusier CLA
Modified: 2004-05-18 11:54 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 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