Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340608

Summary: [1.7] DisjunctiveType has no or broken bindings
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, jarthana, Olivier_Thomann, srikanth_sankaran
Version: 3.7   
Target Milestone: 3.7.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Markus Keller CLA 2011-03-21 16:40:14 EDT
BETA_JAVA7

DisjunctiveType#resolveBinding() returns null. When I inspect the type of a variable of a disjunctive type, then I sometimes (e.g for variable "ex" in bug 340059 comment 7) get a LUB type that throws NPEs for some queries.

Use branch BETA_JAVA7 of http://www.eclipse.org/jdt/ui/astview/ to play.
Comment 1 Olivier Thomann CLA 2011-04-05 10:25:11 EDT
DisjunctiveType#resolveBinding() issue is fixed with the fix for bug 341333.
And the NPE are related to the bug 341759.

Closing as a dup of bug 341333

*** This bug has been marked as a duplicate of bug 341333 ***
Comment 2 Srikanth Sankaran CLA 2011-04-27 00:44:17 EDT
Mile stone should be set once the release vehicle for bug 341333
is known.
Comment 3 Ayushman Jain CLA 2011-06-30 01:45:37 EDT
Verified using Eclipse Java 7 Support(Beta) feature patch v20110623-0900.