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 - Override methods does not respect options
Summary: Override methods does not respect options
Status: VERIFIED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 11:56 UTC by Jiri Prox
Modified: 2007-08-03 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.