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 108480

Summary: [push down field] PushDown field returns an erroneous message
Product: editor Reporter: kely_garcia <kely_garcia>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description kely_garcia 2007-06-29 00:35:24 UTC
Build ID: Netbeans 6.0 M9 (070502)

Steps To Reproduce:
Push down field f on the following returns an erroneous warning message: "Cannot push down any members. The selected 
type has no subtypes". 

public class A {
  int f=10;
}
class B extends A {
  int g=new A().f;
}
Comment 1 Jan Becicka 2007-06-29 11:11:50 UTC

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