Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338398 - Code assist is case sensitive for statically imported methods
Summary: Code assist is case sensitive for statically imported methods
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 4.6 M7   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 491997 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-28 06:39 EST by David Balažic CLA
Modified: 2016-04-26 07:06 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Balažic CLA 2011-02-28 06:39:43 EST
In a Java file with:

import static org.junit.Assert.assertNotNull;


typing in code "assertno" and then pressing ctrl+space gives no proposals.

Typing "assertNo" and the ctrl+space on the other hand offers assertNotNull, as expected.



-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH
Comment 1 David Balažic CLA 2011-02-28 06:40:26 EST
May be related with bug 246832.
Comment 2 Ayushman Jain CLA 2011-02-28 06:44:38 EST
I'll take a look.
Comment 3 Dani Megert CLA 2016-04-19 09:17:07 EDT
*** Bug 491997 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Genie CLA 2016-04-20 09:48:06 EDT
New Gerrit change created: https://git.eclipse.org/r/71074
Comment 5 Jay Arthanareeswaran CLA 2016-04-20 09:51:01 EDT
(In reply to Eclipse Genie from comment #4)
> New Gerrit change created: https://git.eclipse.org/r/71074

There were three instances of CharOperation.equals() without case insensitive flags. One pertains to this but other two are related to proposals from Javadoc on constructors and method parameter names. Unfortunately the latter two have tests backing them. I will take a look at the history and see if there is any rationale behind them later. As for as this bug is concerned, this gerrit patch will do.
Comment 6 Eclipse Genie CLA 2016-04-20 13:51:42 EDT
New Gerrit change created: https://git.eclipse.org/r/71094
Comment 8 Jay Arthanareeswaran CLA 2016-04-20 23:31:32 EDT
Fix released for Neon
Comment 9 Sasikanth Bharadwaj CLA 2016-04-26 07:06:12 EDT
Verified for Neon M7 using I20160425-1300 build