Bug 50695 - Javadoc: package reference in @see tags is wrongly warned
Summary: Javadoc: package reference in @see tags is wrongly warned
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 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-27 12:39 EST by Frederic Fusier CLA
Modified: 2008-06-05 07:54 EDT (History)
1 user (show)

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-01-27 12:39:27 EST
Build I20040121.

Compiler wrongly warns me on valid syntax in following javadoc comment:
/**
 * @see java.lang
 */

Package references are valid in @see tags (see Javadoc spec v1.4)
Comment 1 Frederic Fusier CLA 2004-02-06 13:56:30 EST
Fixed.

Package references are now accepted by compiler.

[jdt-core-dev internal]
Override resolveType(BlockScope) and resolveType(ClassScope) methods in 
JavadocSingleTypeReference and JavadocQualifiedTypeReference to see if when 
binding is invalid it could be a PackageBinding. In this case, do not report 
problem.

Test case added in jdt.core.tests.compiler.regression.JavadocTestMixed
Comment 2 David Audel CLA 2004-02-11 12:05:25 EST
Verified 3.0M7
Comment 3 Eric Jodet CLA 2008-06-05 07:54:40 EDT
Note that once bug 211054 will have been fixed, warning should be raised when referencing packages others than current package declaration.
See bug 211054 for details.