non-intuitive behavior of 'find implementing classes' in library
I set up a project with JDK 142 and a jdbc driver (Oracle's) as libraries.
I wanted to search for all implementations of java.sql.Connection
I opened the source and did a serach for implementing classs inclusing
libraries. only the JDK's bridge came out.
I re-executed the serach including derived interfaces. OK, the oracle
derived intf were found but not their implementations.
only by using the view hierarchy window I found the oracle
implementations. see screenshots.
I think the behavior of the serach is not intuitive. opinions before I
open a SCR ?
Edo
Attachment(s):
Clipboard01.png
Clipboard02.png
Please sign in to leave a comment.
also,
the method hierarchy and the ifo in the drop down popup do not appear to
match. the former shows for instance all implementations of
Connection.close while the latter only tells it's implemented in the jdk
bridge.
looks likethe jdk is a special library status that the oracle jars do
not seem to share. Is the bsence of sources the discriminator ? I would
still find that confusing.
I'd say that a search is either performed just in the project classes or
in the project+libraries classes set, regardless of the presence of
sources in the lib.
Edo
Attachment(s):
Clipboard04.png
Clipboard03.png
This should be a bug. Please file an SCR.
--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"
"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in message
news:blbls9$25h$1@is.intellij.net...
>
>
>
>
>
>
-
-
-
-
Valentin Kipiatkov (JetBrains) wrote:
done
http://www.intellij.net/tracker/idea/viewSCR?publicId=17631