This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258531 - Introduce Parameter: Code completion provides invalid entries
Summary: Introduce Parameter: Code completion provides invalid entries
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-25 13:34 UTC by markiewb
Modified: 2016-03-25 15:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (44.54 KB, image/png)
2016-03-25 13:34 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2016-03-25 13:34:54 UTC
Created attachment 159000 [details]
Shows the issue

* invoke "introduce parameter"-hint
* cc in the name field

ACTUAL: code completion which proposes classes
EXPECTED: no code completion, I see no reason for that

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: Updates available to version NetBeans 8.1 Patch 1
Java: 1.8.0_71; Java HotSpot(TM) 64-Bit Server VM 25.71-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_71-b15
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 markiewb 2016-03-25 15:35:22 UTC
My usecase: I throw away the propopsal by keeping BACKSPACE pressed, then I type the name

Better reproduction
* invoke "introduce parameter"-hint
* press BACKSPACE several times until the initial proposed name is gone, and press BACKSPACE several times again (sic!)
* cc in the name field