Bug 160327 - [search] Add specification for TypeNameMatch.getType
Summary: [search] Add specification for TypeNameMatch.getType
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2006-10-10 11:08 EDT by Martin Aeschlimann CLA
Modified: 2006-10-30 14:16 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 Martin Aeschlimann CLA 2006-10-10 11:08:47 EDT
20061010

TypeNameMatch.getType currently throws a JavaModelException. If this is intended, the spec should say what it means. It should also define if 'null' is a valid answer and if the returned types can be assumed to 'exist' or not. Same decision with getPackageFragmentRoot
Comment 1 Frederic Fusier CLA 2006-10-11 13:08:44 EDT
Fix for this bug is included in patch attached to bug 160323.

Released for 3.3 M3 in HEAD stream.
Comment 2 Olivier Thomann CLA 2006-10-30 14:16:15 EST
Verified for 3.3 M3 using warm-up build I20061030-0800