| Summary: | [move member type] Compile error when a non-static member type is extended by another non-static member type | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Milos Gligoric <milos.gligoric> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | manju656 |
| Version: | 4.2.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
Issue is reproducible using I20121210-0800. Refactoring results in compiler error. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Steps to reproduce: 1. Invoke "Move Type to New File" on "C51" in code below 2. Enter something as "ff" for the "Enclosing instance field name" 3. The resulting code does not compile ("Implicit super constructor C51() is undefined for default constructor. Must define an explicit constructor") class MoveTypeToNewFileBug5 { // Invoke "Move Type to New File" on "C51", enter something as "ff" for the // "Enclosing instance field name" class C51 { } class C52 extends C51 { } } (Thanks to Yilong Li for helping with the bug report.) Example is similar to bug 294204 (however, refactoring is performed on different elements)