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.
Trunk build 060717. After a bunch of editing of a bunch of sources, I ended up in the wierd situation that one perfectly correct line of text was marked "Error: ; expected" even though it was fine. So I tried compiling the project. The compiler said "Not a Statement: getS" for the line. But that wasn't what that line had in it. Then I noticed that, when I typed, the file was never marked as modified. So all my more recent changes to the file were not saved. Trying to do something, I tried refactoring an inner class, changing its name. This refactored the name of the outer class. I undid the refactoring and got *most* of my source back - the "pu" from public in the file's class declaration got deleted. I'll attach messages.log and the file I was editing. No idea how I got into this situation - I had my NetBeans session up over several days. Probably ought to be a P2, but leaving it P3 for now since I don't know how to reproduce it reliably.
Interestingly, I've seen a similar problem in Retouche builds, but never in a trunk build before. Is there something new in the editor?
Created attachment 32191 [details] Log file
Created attachment 32192 [details] Source file
Well the editor module itself does not maintain the modified flag of the sources - it's done in openide/editor. There is a bunch of exceptions in the messages.log from javacore so first reassigning to it for evaluation to be sure but IMHO the exceptions should not influence maintaining of the modified flag anyway.
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component