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.
Description: When I add a new method, the editor bodges up all my code. It replicates the new method to methods below it, and then changes other methods to methods below that. The code I use doesn't use fully-qualified package names, but imports instead. For exmaple: /** comment */ public void dostuff(String arg) throws RemoteException /** just added this method */ public boolean dostuff2(String arg2, int a) throws RemoteException /** comment */ public int dostuff3(int a) throws RemoteException becomes /** comment */ public void dostuff(String arg) throws RemoteException /** just added this method */ public boolean dostuff2(String arg2, int a) throws RemoteException /** comment */ public int dostuff2(String arg2, int a) throws RemoteException Something like that. Now how do I remember the real names of the methods? Do I have to test all my code again? No, lucky I have backups. A comment.
Trensfered from bugtraq. I cannot reproduce it.
Neither can I - in recent dev builds. IIRC FFJ 4.0 was based on NB-3.2, and the code generator was quite changed from that time. If the thing happens again, please do immediately "Undo" to get the text to the original state, wait for 10 seconds and try again. If the bug occurs again, reopen this issue and attach the source file or mail it to me.
As I mentioned before, I cannot reproduce it.