Bug 211888 - [search] Search results aren't the same with or without a syntax error
Summary: [search] Search results aren't the same with or without a syntax error
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 11:03 EST by David Audel CLA
Modified: 2009-10-27 12:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2007-12-04 11:03:39 EST
build I20071127-0800

1) create X.java
public class X{
	void foo() {
		new X() {};
	}
}
2) Search all reference of type X.
I see an anonymous type in the search view

3) add a syntax error in the method
public class X{
	void foo() {
		#
		new X() {};
	}
}

4) Search all reference of type X.
I see a method in the search view.

The result should be the same in both case.
Comment 1 Frederic Fusier CLA 2009-09-29 09:59:26 EDT
It seems to work since 3.5.0...
Comment 2 Olivier Thomann CLA 2009-10-27 12:54:09 EDT
Verified for 3.6M3 using I20091027-0100.
Comment 3 Olivier Thomann CLA 2009-10-27 12:54:27 EDT
Verified.