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.
Introduce field creates private field in interface when invoked from defender method Steps to reproduce: 1) have a code: public interface NewInterface { default void method() { int x = 3; } } 2) select '3' and introduce field -> private field is created Product Version: NetBeans IDE Dev (Build 20140109-5dd3d83bf20e) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b49 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Fixed as jet-main#7934ed6b56e3
Integrated into 'main-silver', will be available in build *201401230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7934ed6b56e3 User: Svata Dedic <sdedic@netbeans.org> Log: #240419: if target is interface, introduce as constant and limit creation options