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.
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/2220/suite/1701/v/1 After the 3rd step all imports have been correctly rearranged. In the same time another hint came up (see picture) and I decided to organize imports again according to the IDE suggestion. I was surprised that formatter has added all my needed imports again (see picture).
Created attachment 154941 [details] IDE suggest one more time to organize imports
Created attachment 154942 [details] Unwanted imports
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/61600d44b3d3
Integrated into 'main-silver', will be available in build *201507280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/61600d44b3d3 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #253850 - Organize imports adds unwanted imports - fixed.
Improved fix. http://hg.netbeans.org/jet-main/rev/95108177ea46
Verified in jet-main build. Dusane, could you please transplant it to beta-branch? Thank you Product Version: NetBeans IDE Dev (Build jet-main-1806-on-20150728) 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: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb)
Integrated into 'release81_beta' branch. http://hg.netbeans.org/releases/rev/a84f33978028
Integrated into 'main-silver', will be available in build *201507290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/95108177ea46 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #253850 - Organize imports adds unwanted imports - fix cont.
The fix verified positively in *201507302201*. However I discovered something different --> https://netbeans.org/bugzilla/show_bug.cgi?id=254025.
verified in 8.1beta