Summary: | [1.5][search] NPE in PatternLocator | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M7 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Adam Kiezun
2005-04-09 21:59:32 EDT
Can you provide a more detailed test case to helpme to reproduce (what kind of refs were you searching, using search dialog or direclty from popup-menus, etc...)? Thanks don't remember exactly but i think i selected a declaration of a method in an anonymous class and (i'm sure of that one) did : search for references in project (from menu) I guess you were editing 1.5 code, right? Would be possible that you put it in this bug? I got it with following simple test case: import java.util.*; public class X<T> { void foo() { List<String> list = new ArrayList<String>() { public boolean add ( String o) { return false; } }; list.add(""); } } Select add method declaration and search for reference in project... Thanks for the info yup, i just got a 'mid-air collision' when i about to submit a test case virtually identical to yours. Fixed and release in HEAD. [jdt-core-internal] Test case added in JavaSearchBugsTests. Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD. |