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.

Bug 120764 - [Move]Write protected files are not updated
Summary: [Move]Write protected files are not updated
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-01 09:22 UTC by _ recjake
Modified: 2011-01-06 12:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ recjake 2007-11-01 09:22:53 UTC
When Moving a class the import statements of read-only files are not updated as the the files are not 
becoming write 
enabled.
Only when using the preview the problem can be found. This is somewhat helpful, but not really 
acceptable, as many 
developers do not use the preview, but just start to move.
An error message is occuring then, that access to a file is not granted and the refactoring fails, 
what at least leads to an inconsistent state of the sources after refactoring.

Please change this behavior. It would be better to make the files write enabled before moving.

Thanks
Comment 1 Jan Becicka 2011-01-06 12:31:55 UTC
already fixed a704756df2a0