[ 
https://issues.apache.org/jira/browse/NETBEANS-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794320#comment-16794320
 ] 

Giuseppe Tino commented on NETBEANS-685:
----------------------------------------

The issue affect also version 11.0 vc3

> Push down dialog allows pushing down methods from implemented interface
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-685
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-685
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Refactoring
>    Affects Versions: 9.0, 11.0
>            Reporter: Manikantan Narender Nath
>            Priority: Major
>
> Test Spec: 
> http://netbeans-vm.apache.org/synergy/client/app/#/specification/351
> Test Suite: http://netbeans-vm.apache.org/synergy/client/app/#/suite/2023/v/1
> test Case : 
> [http://netbeans-vm.apache.org/synergy/client/app/#/case/5134/suite/2023/v/1]
>  
> Environment:
> *Product Version:* Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-408-on-20180417)
> *Java:* 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> *Runtime:* Java(TM) SE Runtime Environment 10+46
> *System:* Mac OS X version 10.12.6 running on x86_64; UTF-8; en_IN (nb)
>  
> Steps to reproduce
>  # Open Project Java Refactoring (Attached with test spec)
>  # OPen push_pull.ClassB.java
>  # Place cursor/Caret on method _public String getSequence(int i)_ 
>  # From popup menu chose Refactor | Push down
>  # Click Preview
>  # Click Do Refactoring
> Expected Result
> Push Down dialog should not allow refactoring since _public String 
> getSequence(int i)_ is defined in interface
> Actual result
> Push down dialog allows refactoring, refactoring is possible but 
> push_pull.ClassB.java is not compilable since it is not declared abstract or 
> implements methods from interface



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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

Reply via email to