Bug 80466 - ITypeBinding#getJavaElement() is null for declaration of java.util.List<E>
Summary: ITypeBinding#getJavaElement() is null for declaration of java.util.List<E>
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 80470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-08 09:30 EST by Markus Keller CLA
Modified: 2004-12-15 09:50 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-12-08 09:30:57 EST
I20041207-0800

Steps:
- Install new ASTView 1.0.2 from
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-ui-home/plugins/org.eclipse.jdt.astview/index.html

- open java/util/List.class from an 1.5 JDK and look at the type binding of the
TypeDeclaration
Comment 1 Jerome Lanneluc CLA 2004-12-08 11:44:08 EST
This is a SourceTypeBinding coming from the source attached to an IClassFile.
We might want to store the IClassFile path in the BasiCompilationUnit and use
this path to recreate the IClassFile.
Comment 2 Jerome Lanneluc CLA 2004-12-10 04:59:49 EST
*** Bug 80470 has been marked as a duplicate of this bug. ***
Comment 3 Jerome Lanneluc CLA 2004-12-10 05:04:18 EST
Changed ASTParser#internalCreateAST(...) to use the .class file name (instead of
a .java name) so that the IClassFile can be recreated.

Added regression test ASTModelBridgeTests#testBinaryType()
Comment 4 Frederic Fusier CLA 2004-12-15 07:57:43 EST
Verified for 3.1 M4 using build I200412142000 + ASTView 1.0.2.
Comment 5 Frederic Fusier CLA 2004-12-15 09:50:24 EST
Verified for 3.1 M4 using build I200412142000 + ASTView 1.0.2.