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 182741 - masterfs's fileObject.getParent() shall be no I/O touch operation
Summary: masterfs's fileObject.getParent() shall be no I/O touch operation
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: Other Linux
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-25 09:16 UTC by Jaroslav Tulach
Modified: 2010-04-03 05: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 Jaroslav Tulach 2010-03-25 09:16:58 UTC
There is no reason why fileObject.getParent() shall require a disk touch (if the system believes fileObject.isValid()). Currently it may, if the parent FileObject has not yet been created. 

It is important for bug 180061 (which wants to use kind of hierarchical cache) to make getParent() as lightweight as possible.
Comment 1 Jaroslav Tulach 2010-04-02 15:42:30 UTC
core-main#2eadaa2953da
Comment 2 Quality Engineering 2010-04-03 05:31:19 UTC
Integrated into 'main-golden', will be available in build *201004030201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2eadaa2953da
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #182741: masterFileObject.getParent() shall be no disk touch operation