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 36642 - Do not write to Windows2 directory
Summary: Do not write to Windows2 directory
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks: 36122
  Show dependency tree
 
Reported: 2003-10-16 13:08 UTC by mslama
Modified: 2008-12-22 21:34 UTC (History)
1 user (show)

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 mslama 2003-10-16 13:08:19 UTC
It is not necessary to reset folder attributes. It
is possible ignore them before they are passed to
ordering method.
Comment 1 Jaroslav Tulach 2003-10-30 08:39:21 UTC
The reviewers think that the whole purpose of Windows2 and
Windows2Local separation would be in vain if the Windows2 folder was
not kept read only. That is why they explicitly request to:

- do not write ordering attributes to it
- do not write topComponent.settings file to it

and of course do not write anything else. The first problem should be
addressable by better usage of Utilities.topologicalSort and by
providing some kind of filtered Map into it that would virtually mask
the attributes instead of removing them. The second problem could be
addressed by copying the description of topComponent from the Windows2
to Windows2Local directory prior creation of InstanceDataObject and of
course (in future) by using registry and not relying on
InstanceDataObject at all.
Comment 2 mslama 2003-11-04 16:51:11 UTC
Fixed in winsys branch. Both folder attributes and TopComponent's
settings files are not set/saved in module folder Windows2.
Comment 3 Lukas Hasik 2004-02-25 14:59:27 UTC
verified - fixed by reporter