Bug 3252

Summary: Code assist list could be narrower in throws completion (1GD074C)
Product: [Eclipse Project] JDT Reporter: Randy Giffen <Randy_Giffen>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 F3   
Hardware: All   
OS: Windows 98   
Whiteboard:

Description Randy Giffen CLA 2001-10-10 22:52:02 EDT
Enter the following in a java editor

public class Test {
	public void someMethod() throws A

Trigger code assist after the A
Note that the list includes types which are not throwable

Similarly the list could be narrowed for a catch statement

NOTES:

PM (4/30/2001 7:53:25 PM)
	At the time this was done, we had no support for finding exceptions. This is however something we could handle better now.
	Should revisit (however, exception hierarchies might take a while to compute).
Comment 1 DJ Houghton CLA 2001-10-23 23:53:01 EDT
PRODUCT VERSION:
0.101

Comment 2 Philipe Mulet CLA 2001-10-24 05:29:26 EDT
No action at the moment, we prefer it to be quick than smart.
Comment 3 Philipe Mulet CLA 2001-10-24 05:31:44 EDT
Defer
Comment 4 Philipe Mulet CLA 2001-10-24 05:32:11 EDT
Defer
Comment 5 Philipe Mulet CLA 2002-06-04 10:30:56 EDT
Solved by improving sorting based on relevance (exception types have a higher 
one).
Comment 6 Philipe Mulet CLA 2002-06-04 10:31:09 EDT
Closing
Comment 7 Randy Giffen CLA 2002-06-13 16:08:48 EDT
Verifed in F3