Bug 80466

Summary: ITypeBinding#getJavaElement() is null for declaration of java.util.List<E>
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.