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 253724 - Fix imports does not realize exclude list
Summary: Fix imports does not realize exclude list
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 253728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-24 09:50 UTC by stwr
Modified: 2015-08-04 01:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-07-24 09:50:42 UTC
Product Version: NetBeans IDE 8.1 Beta (Build 201507231027)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta

Test Case --> http://services.netbeans.org/synergy/client/app/#/case/5413/suite/1891/v/1

Executing 'Fix Imports' does the thing and adds the import of java.io.File.
However the exclude list contains the mentioned entry 'java.io.'.

Since it was not expected to see new import it is a bug then.
Comment 1 markiewb 2015-07-26 10:36:48 UTC
*** Bug 253728 has been marked as a duplicate of this bug. ***
Comment 2 Dusan Balek 2015-08-03 14:00:55 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/b380aa29d17b

Please note that 'java.io.*' has to be added to exclude whole java.io package.
Comment 3 Quality Engineering 2015-08-04 01:15:20 UTC
Integrated into 'main-silver', will be available in build *201508040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b380aa29d17b
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #253724 - Fix imports does not realize exclude list - fixed.