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 Dev (Build 201506110001) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev 1. Invoke Fix Import in a Java file that requires a static import 2. Notice that instead of showing a class/field name, the combobox value is an empty string. I am going to prioritize this as P2 because it is a regression and it is relatively difficult to use Fix Imports without it.
Unfortunately, I cannot reproduce the problem in the current dev build.
Sorry, I should have been more specific. In dev build 201506220001 I see that static import of methods works, but attempting to static import: * enum values (e.g. java.time.DayOfWeek.MONDAY) * public static fields (e.g. java.time.format.DateTimeFormatter.ISO_DATE) results in an empty combo-box.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/6d504854e7e0
Integrated into 'main-silver', will be available in build *201506240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6d504854e7e0 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #252941: Fix Import shows blank box for static imports - fixed.
*** Bug 253177 has been marked as a duplicate of this bug. ***