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.
I'm currently working with JDK 1.4 on Windows XP. If I alter a hidden source file and try to save the changes, I get a FileNotFoundException(Access denied). I'm owner of Netbeans task. I have full access to all files I'm working on. If I make the files visible, everything works fine. Finally I tried with JDK 1.3.1, but the error was still occurring.
how did you _hide_ the source file? And please attach the exception you find in the ide.log file here.
Also please speciffy what does it mean to alter hidden files. Please add steps how to reproduce.
Created attachment 4182 [details] netbeans log file with error message
Altering means adding/deleting any code to the source file (e.g. comments, methods, classes). Step to reproduce: 1. create a new class or open an old .java file in netbeans IDE 2. right click on the .java file in Windows Explorer and choose properties 3. change the files properties to hidden (press OK :-) ) 4. add some code to the class in netbeans IDE 5. try to save the changes from 4. 6. the error should occur
Previously I considerd hidden as term that we use in connection with MultiFileSystem implementation. But now everything is clear. So, according to stacktrace and according my additional investigation is the problem in JDK in WIN platform: 1/ File.isHidden returns false (also if file is really hidden) 2/ FileNotFoundException is fired for FileOutputStream.write if file is hidden So I fired two JDK bugs: 4624383, 4624413. But definitely P3 priority is inappropriate. Then priority decreased to P5.
I think that because this bug won`t be fixed in Netbeans then will be resolved as WONTFIX.
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.