Bug 120831 - [javadoc] Open External Javadoc fails for nested binary types
Summary: [javadoc] Open External Javadoc fails for nested binary types
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 04:39 EST by Martin Aeschlimann CLA
Modified: 2006-01-04 12:50 EST (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 Martin Aeschlimann CLA 2005-12-14 04:39:17 EST
I20051213-0010

'Navigate > Open External Javadoc' fails for nested binary types, e.g.
java.util.Map.Entry (1.4 and 1.5) or java.lang.Thread.State (1.5 only)

The constructed URL is e.g.:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map$Entry.html
but correct would be:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.Entry.html

Problem is that type.getTypeQualifiedName('.') returns Map$Entry, see bug 120640.
Comment 1 Markus Keller CLA 2005-12-14 10:31:49 EST
The "!type.isAnonymous()" in bug 120640 comment 6 looks suspicious. The JavaModelUtil method should specify what happens for anonymous and local types.
Comment 2 Martin Aeschlimann CLA 2006-01-04 12:50:30 EST
fixed > 20060104