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 111467 - Constructor created with 'Generate Constructor' doesn't call superclass constructor
Summary: Constructor created with 'Generate Constructor' doesn't call superclass const...
Status: RESOLVED DUPLICATE of bug 109667
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 13:33 UTC by _ leonchiver
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 _ leonchiver 2007-07-31 13:33:47 UTC
In the dialog you can select the super constructor. The generated constructor will not contain the proper super call.

1
==
public class O extends javax.swing.JButton {

}

== 
Generate Constructor. Select JButton(String text) as super constructor. You get

private class O extends javax.swing.JButton {
    public O(String text) {
        // XXX - should have been super(text);
    }
}
Comment 1 Jiri Prox 2007-07-31 15:08:03 UTC
This is filed as issue 109667. Thanks for your report anyway

*** This issue has been marked as a duplicate of 109667 ***