wrprice commented on issue #9798: URL: https://github.com/apache/netbeans/issues/9798#issuecomment-6881576092
On NB32-rc3: - Move refactoring will not proceed because it refuses to move member to parent class, suggests Pull Up instead. - Pull Up moves field to parent interface but dialog warns that original default access member is not public. After pull-up there is a valid syntax error that `=` is expected. IMO this is not a bug. Java interfaces cannot declare non-static fields. When the member is pulled-up it is implicitly made `public static final` and therefore must have a value assigned to it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
