Project: JDT
Bug 45227 Pullup incorrectly reports errors [refactoring]
Reported: 2003-10-20 13:34:18 | Status: resolved fixed

I have a heirachy C derives from B derives from A. A contains protected member variable foo. C contains a method bar() which references foo. If I attempt to pull-up bar() to B, the refactoring preview incorrectly informs me that foo cannot be access from B. If I proceed, there are in fact no problems.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java