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.
refactoring build from May 18, Linux, jdk1.4.2 quite simple project with an interface and a bean implementing this interface. When I add a method to the interface there is no synchronization dialog. I can only invoke Synchronize dialog manualy. It contains correct set of updates. (BTW: attempt to close the dialog with cancel produces an exception)
Works for me in the current builds. My scenario was - add the interface, add a class, synchronize it with the interface. Then add a new method to the interface - I got the synchronization dialog immediately. Also changing the methods in the interface (adding a parameter) triggers the synchronization dialog appearance. The exception when closing the synchronization dialog fixed. Checking in org/netbeans/modules/java/JavaConnections.java; /cvs/java/src/org/netbeans/modules/java/JavaConnections.java,v <-- JavaConnections.java new revision: 1.41.104.4; previous revision: 1.41.104.3 done
This feature doesn't work right. Exceptions are throwing, synchronization is not done and sometimes it puts wrong code like "putList(java list)" (expected "putList(java.util.List list)").
Created attachment 15315 [details] Exceptions' stacktraces.
Is it possible to provide exact steps to how to reproduce it or the behavior seems to be non-deterministic?
Synchronization fails when an existing class definition is changed. For example: I created a class which implements interface1 (invoke synchronization and save) than I replaced interface1 to interface2 and invoked synchronize - exception is thrown.
Moved to new subcomponent java/javacore.
The testcase described above works for me in the current builds.
Reorganization of java component