Bug 95286 - [1.5][javadoc] package-info.java incorrectly flags "Missing comment for public declaration"
Summary: [1.5][javadoc] package-info.java incorrectly flags "Missing comment for publi...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 22:00 EDT by Sebastian Davids CLA
Modified: 2005-05-27 10:10 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 Sebastian Davids CLA 2005-05-14 22:00:27 EDT
Eclipse 3.1M7

Preference Java/Compiler/Javadoc/Missing Javadoc comments turned on.

File contents:

/**
 * Test package description.
 */
package test;
Comment 1 Frederic Fusier CLA 2005-05-17 09:12:24 EDT
Which kind of compilation unit is it? package-info.java or another one?
Comment 2 Frederic Fusier CLA 2005-05-17 09:17:35 EDT
Ooops sorry, I haven't seen it was written in summary...
Comment 3 Frederic Fusier CLA 2005-05-17 09:19:59 EDT
Note that you need to set option visibility to "Default" to see this problem...
It does not occur at "Public" or "Package" levels.
Comment 4 Frederic Fusier CLA 2005-05-17 11:39:46 EDT
I'm really tired this afternoon :-( Of course, you should read "Protected"
instead of "Package" in previous comment...

Saying that, it's now fixed and released in HEAD :-)

Do no longer verify missing javadoc for package-info synthetic type.

[jdt-core internal]
Changes done in CompilationUnitDeclaration.resolve()

Test cases added in JavadocTest_1_5, JavadocTest_1_4 and JavadocTest_1_3
Comment 5 Olivier Thomann CLA 2005-05-27 10:10:26 EDT
Verified in I20050526-2000