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 jdk8lambda-1667-on-20130301) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0-ea Runtime = OpenJDK 64-Bit Server VM 25.0-b19 After pressing the Alt+Insert command pou-up window Generate appears with command (among others) Override methods. After entering this command the window does not offer to override the methods inherited from interface with default implementation.
I'm not sure if I understand the description correctly, but if the methods are abstract (e.g. they are defined in interface) then you have to select 'Implement method' to get the default implementation
(In reply to comment #1) > I'm not sure if I understand the description correctly, but if the methods are > abstract (e.g. they are defined in interface) then you have to select > 'Implement method' to get the default implementation In Java 8 the interfaces can suggest defalut implementation of declared methods - e.g.: interface Interface { default void method() { //here is the default implementation } } The implementing classes can override these default implementation and therefore NetBeans should suggest this posibility.
Thanks for explanation
Integrated into 'main-golden', will be available in build *201303232300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/89f8ad0a1cb9 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #226941: IDE does not offer overriding of default methods of the implemented interface - fixed.