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: | [Extract Super Class] Necessary constructor not created when extracting form class with super calls | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Refactoring | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 99968, 103642 | ||
Bug Blocks: |
Description
Jiri Prox
2006-05-17 16:43:35 UTC
Not implemented in trunk so far. Checking existing constructors for super(...) and generating adequate constructors should help. fixed in /cvs/refactoring/java/src/org/netbeans/modules/refactoring/java/plugins/ExtractSuperclassRefactoringPlugin.java new revision: 1.5; previous revision: 1.3 Only part of issue seem to be fixed. The extracted class (named NewClass in this test case) still have default constructor, with implicit super() call It is a generator issue. I will reopen the issue #103642. Closing. There is nothing what can be done on the refactoring side. The issue #103642 tracks this problem. ok -> v. |