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

Bug 479377

Summary: [search] Java search - unexpected result when searching by method name
Product: [Eclipse Project] JDT Reporter: Dennis <hkdennis2k+eclipse>
Component: CoreAssignee: Manoj N Palat <manoj.palat>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: manoj.palat, stas
Version: 4.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Dennis CLA 2015-10-08 21:45:31 EDT
Search string "java.sql.Connection.close()"
Search for "Method"
Limit To "References"
Search In "Sources"


Expected result:
 source code that calling close() method on SQL Connection, and only (or calling on its sub-class, should there be a option for it)

Actual result
 ResultSet.close
 PreparedStatement.close
 InputStream.close
 and all other AutoCloseable(?).close are included in search result.
Comment 1 Eclipse Genie CLA 2019-07-26 17:42:07 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.

If you have further information on the current state of the bug, please add it. 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.