Bug 176027 - [javadoc] {@link} to member type handled incorrectly in 1.5 compliance
Summary: [javadoc] {@link} to member type handled incorrectly in 1.5 compliance
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Eric Jodet CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
: 175839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-01 09:29 EST by Eric Jodet CLA
Modified: 2008-01-14 04:41 EST (History)
2 users (show)

See Also:


Attachments
patch + test case (31.24 KB, patch)
2007-03-09 09:42 EST, Eric Jodet CLA
no flags Details | Diff
Optimized patch + test case (27.40 KB, patch)
2007-03-13 07:22 EDT, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jodet CLA 2007-03-01 09:29:30 EST
see bug 175839.

Build ID: I20070220-1330

Steps To Reproduce:
1. Set compiler default source level to 5.0

2. Enable Pref / Java / Compiler / Javadoc / Report errors in tags

3. Create package and file:

package otherpkg;

public class C {
        public static class Inner { }
}

4. Create second package and file to show the problem:

package somepkg;

import otherpkg.C.Inner;

/**
 * {@link Inner} -- error/warning "Javadoc: Invalid member type qualification"
 */
public class MemberTypeDocTest {
      void m() { }
}

Note that the Javadoc comment is flagged with error / warning (depending on current settings).

Use the 1.5 Javadoc tool (Project --> Generate Javadoc...) to generate the Javadoc.
Note that no error / warning is being raised by the Javadoc tool.

As Eclipse's compiler source level is defaulted to 5.0, no error / warning should be raised.
Comment 1 Eric Jodet CLA 2007-03-09 09:42:11 EST
Created attachment 60479 [details]
patch + test case

Fix for this bug (conforms with currently observed Javadoc tool behavior):
Added tests cases: 176027*
Modified test cases: testBug103304a and b
All JavadocTests completed ok
Comment 2 Frederic Fusier CLA 2007-03-13 07:22:43 EDT
Created attachment 60654 [details]
Optimized patch + test case
Comment 3 Frederic Fusier CLA 2007-03-13 07:27:20 EDT
Released for 3.3 M6 in HEAD stream.
Comment 4 Olivier Thomann CLA 2007-03-20 09:07:13 EDT
Verified for 3.3 M6 using build I20070320-0010
Comment 5 Eric Jodet CLA 2007-09-05 04:44:35 EDT
*** Bug 175839 has been marked as a duplicate of this bug. ***