You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Manikantan Narender Nath (JIRA)" <ji...@apache.org> on 2018/04/18 08:21:00 UTC

[jira] [Created] (NETBEANS-691) Cannot undo conversion of constructor to factory when refactoring in calling class.

Manikantan Narender Nath created NETBEANS-691:
-------------------------------------------------

             Summary: Cannot undo conversion of constructor to factory when refactoring in calling class. 
                 Key: NETBEANS-691
                 URL: https://issues.apache.org/jira/browse/NETBEANS-691
             Project: NetBeans
          Issue Type: Bug
          Components: java - Refactoring
    Affects Versions: 9.0
            Reporter: Manikantan Narender Nath


Test Spec: [http://netbeans-vm.apache.org/synergy/client/app/#/specification/351]

Test Suite: [http://netbeans-vm.apache.org/synergy/client/app/#/suite/2034/v/1]

Test Case: http://netbeans-vm.apache.org/synergy/client/app/#/case/5158/suite/2034/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 to test spec)
 # Open replace_constructor.ClassB
 # Place caret on constructor call on  line ClassA ca2 = new Clas|sA(10, 5) (| is caret position)
 # From menu choose Refactor|Replace Constructor With Factory
 # Provide name for factory
 # Click Refactor
 # Click undo-redo-undo

Expected results

   Able to run step 7   Undo/Redo button is enabled and clickable

Actual Result

   Cannot run Step 7 as  Undo button is disabled.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists