This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Original status: 5-Cause Known; Suggested Status: NEW These items should be added to the Keywords: REGRESSION Original submitter: sergeyp Description: reproducible with coco build 10 and 060615 not reproducible with coco 060522 steps to reproduce: 1. create java project 2. create uml project from re 3. add package with scoped class diagram 4. add class 'a' and interface 'i' 5. draw implementation 6. add operation 'public void f()' to the interface (with edit control, i.e. use Insert Operation context menu on operations compartment and type text in appeared textfield) 7. go to the operation in interface in source 8. add 'int y' parameter 9. wait *** nothing happens in latest builds EXPECTED RESULT: (as in older buids): should ask if you want to redefine operations and if yes, redefine in 'a' class, seems affected by UML|Round Trip Engineering|Java"Modify Redefined Operations option (I thinK it's better to have 'Modify All Instance' by default, but it's not in this issue). Evaluation: Sergey - see my comments inlined in your Description. Deadline is tonight so hope you get this soon :)
OK, I understand now and am able to reproduce. The default is good as is (Ask to redefine) as that was the default in Buzz. If we default to redefine all instances without asking, the user may not know they can be prompted and might not like that they were not asked at least the first time. -- Migrating Comment From Internal Bug Tracking System
As per Trey, we need to call JavaMethodChangeFacility.parameterAdded/Change, but this is not producing consistently correct results. I am able to add params and it works, but no dialog prompting. However, changing or deleting a parameter, or insterting one in between the other existing parameters is very problematic. This fix may require much more work than first thought. -- Migrating Comment From Internal Bug Tracking System
This issue is beyond just adding a parameter to the interface's src. Known issues include: 1. adding an operation 2. changing the return type of the oper 3. changing the name of the oper 4. deleting an operation 5. adding a new parameter 6. changing the number of parameters 7. changing the type of the parameter, etc doesn't get propagated.
Fixed the issue in the bug description, as well as all of the 7 listed issues.
verified all listed cases in coke build 17.
*** Issue 78515 has been marked as a duplicate of this issue. ***
*** Issue 78534 has been marked as a duplicate of this issue. ***