Bug 6779 - searchDeclarationsOfReferencedTyped - missing exception types
Summary: searchDeclarationsOfReferencedTyped - missing exception types
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-11 05:40 EST by Adam Kiezun CLA
Modified: 2002-01-11 08:56 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 Adam Kiezun CLA 2001-12-11 05:40:42 EST
package p;
import java.rmi.AccessException;
class B{
 private void fd() throws AccessException{
 }
}

use searchDeclarationsOfReferencedTyped - AccessException is missing from the 
list
Comment 1 Jerome Lanneluc CLA 2001-12-18 13:36:26 EST
The binding for the thrown exception was not set, thus the type reference was 
inaccurate, thus its declaration could not be found.
Changed AbstractMethodDeclaration.resolve(ClassScope) to position the bindings 
of the thrownExceptions.