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 251344 - Change Method Parameters: Choosing type from code completion results in non-compilable code
Summary: Change Method Parameters: Choosing type from code completion results in non-c...
Status: RESOLVED DUPLICATE of bug 215257
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-21 11:48 UTC by markiewb
Modified: 2015-03-23 13:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (293.93 KB, image/png)
2015-03-21 11:48 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2015-03-21 11:48:26 UTC
Created attachment 152760 [details]
Shows the issue

* open "change method parameters" dialog
* add a new parameter
* click in its type field, press CTRL-SPACE to invoke CC, choose an entry from CC

ACTUAL: non-compilable code will be generated (no packagename is add to the type). The curious thing is that the package name is add, when the type is choose by clicking [...] and choosing it in the go to type dialog. See screenshot. It is an inconsistency.

EXPECTED: compilable code will be generated

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Ralph Ruijs 2015-03-23 13:17:02 UTC

*** This bug has been marked as a duplicate of bug 215257 ***