Bug 95286

Summary: [1.5][javadoc] package-info.java incorrectly flags "Missing comment for public declaration"
Product: [Eclipse Project] JDT Reporter: Sebastian Davids <sdavids>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 RC1   
Hardware: All   
OS: All   
Whiteboard:

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