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

Bug 61437

Summary: Type reference match in class file's import declaration reported in type
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P5    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Bug Depends on: 42097    
Bug Blocks: 89552    

Description Markus Keller CLA 2004-05-07 14:58:33 EDT
With a jdk with source attachment, search for references to type
java.util.Random . There are matches in the import statements of class files
(e.g. in java.io.File).
-> was: enclosing element of these matches is the BinaryType of the IClassFile
-> expected: enclosing element is the class file
Comment 1 Frederic Fusier CLA 2004-06-21 11:23:07 EDT
deferred post 3.0
Comment 2 Markus Keller CLA 2008-04-02 05:49:45 EDT
If bug 42097 (and its duplicate bug 66624) is fixed, the enclosing element should be an IImportDeclaration.
Comment 3 Frederic Fusier CLA 2008-04-02 07:00:27 EDT
Reopen as LATER is deprecated...
Comment 4 Eclipse Genie CLA 2020-03-20 15:18:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.