Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340608 - [1.7] DisjunctiveType has no or broken bindings
Summary: [1.7] DisjunctiveType has no or broken bindings
Status: VERIFIED DUPLICATE of bug 341333
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7.1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 16:40 EDT by Markus Keller CLA
Modified: 2011-08-05 02:54 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.