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 77138

Summary: Override methods does not respect options
Product: java Reporter: Jiri Prox <jiriprox>
Component: EditorAssignee: Jan Lahoda <jlahoda>
Status: VERIFIED INVALID    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2006-05-31 11:56:49 UTC
NetBeans IDE Dev (Build 200605281800)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b03
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

Override method does not respect options Advanced Options -> Editing -> Java
Sources -> Override Methods -> Retun Generation Mode

Steps to reproduce:
1) create new class
2) change Retun Generation Mode to 'Generate Exception'
3) ctrl-I and select some method (not returning void) to be overriden
-> generated method is empty
Comment 1 Vitezslav Stejskal 2007-04-16 03:30:58 UTC
This seems to have changed. The setting is not there anymore, when overriding a
method the super call is generated, when implementing a method the code that
throws the UnsupportedOperationException is generated. This behavior looks ok to me.
Comment 2 Jiri Prox 2007-08-03 15:10:30 UTC
v.