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.
Summary: | Change Method Parameters: When Used on Super Constructor - Adds Invalid Code to Sub Constructor | ||
---|---|---|---|
Product: | java | Reporter: | MackSix |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Project to use for reproduction. |
Description
MackSix
2012-05-01 21:22:34 UTC
1) Open Attached project. 2) Open SuperClass.java and put cursor on constructor name "SuperClass()". 3) Right click and choose Refactor>>Change Method Parmeters. 4) Add a String parameter with default value of "hello". 5) Click Refactor. 6) Invalid code "("hello");" is added to sub classes. Expected: Code "super("hello");" is added to sub classes. Product Version: NetBeans IDE Dev (Build 201205010400) Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Created attachment 118933 [details]
Project to use for reproduction.
reproducible *** This bug has been marked as a duplicate of bug 211913 *** |