Community
Participate
Working Groups
N20060421-0010 interface I { } class A implements I { public static void pullUp() { } } PullUp of a static method into an interface always result in a compile error and is of no use. I cannot imagine a situation where the user really wants to change a static method into a nonstatic interface method. Currently the error message only tells about 'changed program semantics'. The refactoring should either gray out static methods when an interface is selected as target, or it should stop with a fatal error.
In Java 8, the pull up refactoring should move the static method to the destination interface (as a static interface method).
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. If you have further information on the current state of the bug, please add it. 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.