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.
Summary: | Exception Cannot delete CVS file when compiling | ||
---|---|---|---|
Product: | java | Reporter: | sapex <sapex> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | CLOSED FIXED | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows 3.1/NT | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
sapex
2001-02-08 08:07:22 UTC
Hi, I found how to reproduce this bug. Create a class, compile it. Then modify the source (just enter some spaces) => the name has an asterisk to show it was modified. Then do Ctrl-Z to cancel the editing => the asterisk disappears. Then try to recompile => BINGO! I hope you can to something with these indications. Thanks! Yes, I think I've identified the cause of this -- it is the parser reading the source file in background. I've taken some steps for delete operation on a DataObject and I'll make the same adjustments on compiler. Thanks for detailed report. Fixed in dev-130; it was most probably caused by the same thing as delete on .java sources -- parser was holding the InputStream reading the .class file while it was being deleted. Now delete takes precedence and forcibly closes the parser's stream. [010221_2] Verified Resolved for 3.4.x or earlier, no new info since then -> closing. |