Community
Participate
Working Groups
When doing a java search on a field declaration, the character "*" is not recognized as a replacement for "_" between two strings in lower case. 1. Create the following class: public class Test { public String class_path; } 2. Go to Search > Search (Java Search) 3. Select field declarations and search the string "class*path". The search returns no result. 3. Select field declarations and search the string "CLASS*PATH". The search returns the expected result.
Is reproducable. Increasing priority and severity
Analyzed the problem ==> bug in SearchEngine.createFieldPattern() [returns null] Moving to JCore
When tokenizing the search query string, we used to considered query with keywords (like class in this case) a malformed query. Fixed by considering all tokens as possible identifiers.
Verified.