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 48542 - Override method generates wrong code.
Summary: Override method generates wrong code.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 14:25 UTC by Milos Kleint
Modified: 2007-09-26 09:14 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 Milos Kleint 2004-09-06 14:25:07 UTC
build 20040905.

Steps to reproduce:
On a subclass of JToggleButton execute
OverrideMethod.. action and select
setText(String), check the generate supercall
checkbox.
->
super.setText();
gets generated instead of the correct
super.setText(str);
Comment 1 Daniel Prusa 2004-09-07 13:12:19 UTC
Checking in JMIInheritanceSupport.java;
/cvs/java/src/org/netbeans/modules/java/tools/JMIInheritanceSupport.java,v
 <--  JMIInheritanceSupport.java
new revision: 1.5; previous revision: 1.4